0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

🐛 Fixed link that appears in update notification (#8830)

refs #8825

- The link was pointing to an install page, which had also moved
- Updated to point to the upgrade page
This commit is contained in:
Hannah Wolfe 2017-08-03 11:32:35 +04:00 committed by Katharina Irrgang
parent ffecf87551
commit f5443f8812

View file

@ -27,7 +27,7 @@ module.exports = function adminController(req, res) {
location: 'upgrade.new-version-available',
dismissible: false,
message: i18n.t('notices.controllers.newVersionAvailable',
{version: updateVersion, link: '<a href="https://docs.ghost.org/v1.0.0/docs/installing-ghost-via-the-cli" target="_blank">Click here</a>'})};
{version: updateVersion, link: '<a href="https://docs.ghost.org/docs/upgrade" target="_blank">Click here</a>'})};
return api.notifications.browse({context: {internal: true}}).then(function then(results) {
if (!_.some(results.notifications, {message: notification.message})) {