Fix broken spec for about/links view partial (#2586)

This commit is contained in:
Matt Jankowski
2017-04-28 10:45:24 -04:00
committed by Eugen Rochko
parent 71e73e36cd
commit 9262f6968b
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -29,5 +29,5 @@
.sidebar
= render 'contact', contact: @instance_presenter
= render 'links'
= render 'links', instance: @instance_presenter
= render 'version', version: @instance_presenter