about summary refs log tree commit diff
path: root/app/views/about
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-01-15 14:38:59 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-01-15 14:47:39 +0100
commitcc1eccc8bc6b6f49cef0f4cf6a74ced8f3262b54 (patch)
tree55dbb8b14512d90d473d21fba7d8017d93ddc06a /app/views/about
parent16f9490d332b31b4fd5549bf6a8c8b7461a9b303 (diff)
Fix #466 - when logged in, make "get started" link to the frontpage instead of sign up
Diffstat (limited to 'app/views/about')
-rw-r--r--app/views/about/more.html.haml7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/about/more.html.haml b/app/views/about/more.html.haml
index 8b0925f00..28300900c 100644
--- a/app/views/about/more.html.haml
+++ b/app/views/about/more.html.haml
@@ -45,7 +45,10 @@
         .panel-header= t 'about.links'
         .panel-list
           %ul
-            %li= link_to t('about.get_started'), new_user_registration_path
-            %li= link_to t('auth.login'), new_user_session_path
+            - if user_signed_in?
+              %li= link_to t('about.get_started'), root_path
+            - else
+              %li= link_to t('about.get_started'), new_user_registration_path
+              %li= link_to t('auth.login'), new_user_session_path
             %li= link_to t('about.terms'), terms_path
             %li= link_to t('about.source_code'), 'https://github.com/tootsuite/mastodon'