demarches-normaliennes/app/controllers/admin_controller.rb
2015-10-26 15:54:20 +01:00

7 lines
213 B
Ruby

class AdminController < ApplicationController
def index
redirect_to(controller: '/administrateurs/sessions', action: :new) unless administrateur_signed_in?
redirect_to (admin_procedures_path)
end
end