demarches-normaliennes/app/controllers/backoffice_controller.rb

7 lines
210 B
Ruby
Raw Normal View History

2015-09-22 10:15:12 +02:00
class BackofficeController < ApplicationController
def index
redirect_to(controller: '/gestionnaires/sessions', action: :new) unless gestionnaire_signed_in?
@dossiers = Dossier.all.decorate
2015-09-22 10:15:12 +02:00
end
end