diff options
author | Matt Jankowski <mjankowski@thoughtbot.com> | 2017-04-28 10:45:24 -0400 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-04-28 16:45:24 +0200 |
commit | 9262f6968becb7f046396b783b60be93073601a8 (patch) | |
tree | 784397f17cc0d52873875405316c159eda8f890b /app/views/about | |
parent | 71e73e36cde53950e243f458fe5130271b62705e (diff) |
Fix broken spec for about/links view partial (#2586)
Diffstat (limited to 'app/views/about')
-rw-r--r-- | app/views/about/_links.html.haml | 2 | ||||
-rw-r--r-- | app/views/about/more.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/about/_links.html.haml b/app/views/about/_links.html.haml index f85a3407e..fb3350539 100644 --- a/app/views/about/_links.html.haml +++ b/app/views/about/_links.html.haml @@ -5,7 +5,7 @@ - if user_signed_in? %li= link_to t('about.get_started'), root_path - else - - if @instance_presenter.open_registrations + - if instance.open_registrations %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 diff --git a/app/views/about/more.html.haml b/app/views/about/more.html.haml index ab5b21850..55580f996 100644 --- a/app/views/about/more.html.haml +++ b/app/views/about/more.html.haml @@ -29,5 +29,5 @@ .sidebar = render 'contact', contact: @instance_presenter - = render 'links' + = render 'links', instance: @instance_presenter = render 'version', version: @instance_presenter |