demarches-normaliennes/app/controllers/administrateurs/sessions_controller.rb

15 lines
235 B
Ruby
Raw Normal View History

class Administrateurs::SessionsController < Devise::SessionsController
def new
@administrateur = Administrateur.new
end
def create
super
end
def after_sign_in_path_for(resource)
2015-10-26 15:54:20 +01:00
admin_procedures_path
end
end