Merge pull request #7525 from Flaburgan/hide-signin-on-signin-page
Hide 'Sign in' header link on the connection page
This commit is contained in:
commit
53f05eff5a
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
%ul.nav.navbar-nav.navbar-right
|
||||
- if AppConfig.settings.enable_registrations? && !current_page?(controller: "/registrations", action: :new)
|
||||
%li= link_to t("devise.shared.links.sign_up"), new_user_registration_path, class: "login"
|
||||
%li= link_to t("devise.shared.links.sign_in"), new_user_session_path, class: "login"
|
||||
- unless current_page?(controller: "/sessions", action: :new)
|
||||
%li= link_to t("devise.shared.links.sign_in"), new_user_session_path, class: "login"
|
||||
|
|
|
|||
Loading…
Reference in a new issue