demarches-normaliennes/app/controllers/backoffice_controller.rb
2015-09-22 11:56:14 +02:00

7 lines
No EOL
210 B
Ruby

class BackofficeController < ApplicationController
def index
redirect_to(controller: '/gestionnaires/sessions', action: :new) unless gestionnaire_signed_in?
@dossiers = Dossier.all.decorate
end
end