Profil: accessible to all roles
This commit is contained in:
parent
0091f65deb
commit
d68d2be798
7 changed files with 53 additions and 37 deletions
11
app/helpers/tableau_de_bord_helper.rb
Normal file
11
app/helpers/tableau_de_bord_helper.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
module TableauDeBordHelper
|
||||
def tableau_de_bord_helper_path
|
||||
if current_administrateur.present?
|
||||
admin_procedures_path
|
||||
elsif current_gestionnaire.present?
|
||||
gestionnaire_procedures_path
|
||||
else
|
||||
dossiers_path
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue