demarches-normaliennes/app/controllers/backoffice_controller.rb
2015-09-22 10:15:12 +02:00

7 lines
No EOL
174 B
Ruby

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