17 lines
No EOL
324 B
Ruby
17 lines
No EOL
324 B
Ruby
class RootController < ApplicationController
|
|
def index
|
|
|
|
if user_signed_in?
|
|
redirect_to users_dossiers_path
|
|
|
|
elsif gestionnaire_signed_in?
|
|
redirect_to backoffice_dossiers_path
|
|
|
|
elsif administrateur_signed_in?
|
|
redirect_to admin_procedures_path
|
|
|
|
else
|
|
render 'landing'
|
|
end
|
|
end
|
|
end |