about summary refs log tree commit diff
path: root/app/views/layouts/public.html.haml
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-08-26 13:23:52 +0200
committerGitHub <noreply@github.com>2018-08-26 13:23:52 +0200
commit2903f8f36b7c41b77de4ad6c8c5b0a6c0b2a7ace (patch)
tree4c8d12cc031476870a918bec3b3000f899101a32 /app/views/layouts/public.html.haml
parent0ddf439999b05b5dfd6d5a5257327fa7d3565e65 (diff)
parent246c313d457397f412f9fb5eed3ee02cf5d9a561 (diff)
Merge pull request #671 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/views/layouts/public.html.haml')
-rw-r--r--app/views/layouts/public.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml
index 24911bb1e..bfa385f58 100644
--- a/app/views/layouts/public.html.haml
+++ b/app/views/layouts/public.html.haml
@@ -11,7 +11,7 @@
             = link_to t('settings.back'), root_url, class: 'nav-link nav-button webapp-btn'
           - else
             = link_to t('auth.login'), new_user_session_path, class: 'webapp-btn nav-link nav-button'
-            = link_to t('auth.register'), new_user_registration_path, class: 'webapp-btn nav-link nav-button'
+            = link_to t('auth.register'), open_registrations? ? new_user_registration_path : 'https://joinmastodon.org/#getting-started', class: 'webapp-btn nav-link nav-button'
 
     .container= yield