12 lines
250 B
Ruby
12 lines
250 B
Ruby
|
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
|