do not show connect button on agentconnect page

This commit is contained in:
simon lehericey 2022-02-24 12:22:36 +01:00
parent 0d74a6e45e
commit 83d2e44cd7

View file

@ -62,7 +62,7 @@
%li %li
= render partial: 'layouts/account_dropdown', locals: { nav_bar_profile: nav_bar_profile } = render partial: 'layouts/account_dropdown', locals: { nav_bar_profile: nav_bar_profile }
- elsif request.path != new_user_session_path - elsif (request.path != new_user_session_path && request.path != agent_connect_path)
- if request.path == new_user_registration_path - if request.path == new_user_registration_path
%li %li
= t('views.shared.account.already_user_question') = t('views.shared.account.already_user_question')