Profil: accessible to all roles

This commit is contained in:
simon lehericey 2019-07-02 18:15:03 +02:00 committed by Pierre de La Morinerie
parent 0091f65deb
commit d68d2be798
7 changed files with 53 additions and 37 deletions

View 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