demarches-normaliennes/app/controllers/backoffice_controller.rb
Xavier J 3e55d7ba3b - Delete routes 'users/dossiers/a_traiter - en_attente - termine' for user
- Add routes 'uses/dossiers/?liste=xxx' to reach at file lists for user
2015-12-02 18:03:52 +01:00

10 lines
No EOL
233 B
Ruby

class BackofficeController < ApplicationController
def index
if !gestionnaire_signed_in?
redirect_to(controller: '/gestionnaires/sessions', action: :new)
else
redirect_to(:backoffice_dossiers)
end
end
end