Merge pull request #2156 from betagouv/fix-dossiers-link
dossiers: move link back to the old UI
This commit is contained in:
commit
acfb7504cb
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@
|
|||
- if nav_bar_profile == :user
|
||||
%ul.header-tabs
|
||||
%li
|
||||
= active_link_to "Dossiers", dossiers_path, active: :inclusive, class: 'tab-link'
|
||||
= active_link_to "Dossiers", users_dossiers_path, active: :inclusive, class: 'tab-link'
|
||||
|
||||
%ul.header-right-content
|
||||
- if nav_bar_profile == :gestionnaire && gestionnaire_signed_in?
|
||||
|
|
|
@ -15,7 +15,7 @@ describe 'layouts/_new_header.html.haml', type: :view do
|
|||
let(:profile) { :user }
|
||||
|
||||
it { is_expected.to have_css("a.header-logo[href=\"#{users_dossiers_path}\"]") }
|
||||
it { is_expected.to have_link("Dossiers", href: dossiers_path) }
|
||||
it { is_expected.to have_link("Dossiers", href: users_dossiers_path) }
|
||||
end
|
||||
|
||||
context 'when rendering for gestionnaire' do
|
||||
|
|
Loading…
Add table
Reference in a new issue