From db75231617863a1ce1831330c96b612c7ef69f94 Mon Sep 17 00:00:00 2001 From: Luka Murn Date: Tue, 31 Jan 2017 15:48:56 +0100 Subject: [PATCH] Update URLs to sciNote support pages Closes SCI-978. --- app/views/shared/_navigation.html.erb | 4 ++-- config/initializers/constants.rb | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/shared/_navigation.html.erb b/app/views/shared/_navigation.html.erb index 17493fd39..7c1352973 100644 --- a/app/views/shared/_navigation.html.erb +++ b/app/views/shared/_navigation.html.erb @@ -200,8 +200,8 @@
  • <%= link_to t('nav.help.support'), Constants::SUPPORT_URL, target: "_blank" %>
  • -
  • <%= link_to t('nav.help.plans'), - Constants::PLANS_URL, +
  • <%= link_to t('nav.help.premium'), + Constants::PREMIUM_URL, target: "_blank" %>
  • <%= link_to t('nav.help.contact'), Constants::CONTACT_URL, diff --git a/config/initializers/constants.rb b/config/initializers/constants.rb index 3a3c0ca6a..0483426ba 100644 --- a/config/initializers/constants.rb +++ b/config/initializers/constants.rb @@ -178,9 +178,9 @@ class Constants HTTP = 'http://'.freeze TUTORIALS_URL = (HTTP + 'scinote.net/product/tutorials/').freeze FAQ_URL = (HTTP + 'scinote.net/product/faq/').freeze - SUPPORT_URL = (HTTP + 'scinote.net/plans/#prof-support').freeze - PLANS_URL = (HTTP + 'scinote.net/plans/').freeze - CONTACT_URL = (HTTP + 'scinote.net/about-us/').freeze + SUPPORT_URL = (HTTP + 'scinote.net/support').freeze + PREMIUM_URL = (HTTP + 'scinote.net/premium/').freeze + CONTACT_URL = (HTTP + 'scinote.net/story-of-scinote/#contact-scinote').freeze RELEASE_NOTES_URL = (HTTP + 'scinote.net/docs/release-notes/').freeze # Default user picture avatar DEFAULT_AVATAR_URL = '/images/:style/missing.png'.freeze