demarches-normaliennes/app/controllers/admin_controller.rb

8 lines
213 B
Ruby
Raw Normal View History

class AdminController < ApplicationController
def index
redirect_to(controller: '/administrateurs/sessions', action: :new) unless administrateur_signed_in?
2015-10-26 15:54:20 +01:00
redirect_to (admin_procedures_path)
end
end