2015-12-09 15:10:11 +01:00
|
|
|
class Gestionnaires::SessionsController < Sessions::SessionsController
|
2017-06-20 14:39:56 +02:00
|
|
|
layout "new_application"
|
|
|
|
|
2015-09-22 10:15:12 +02:00
|
|
|
def new
|
2017-01-03 10:43:04 +01:00
|
|
|
redirect_to new_user_session_path
|
2015-09-22 10:15:12 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
def create
|
|
|
|
super
|
|
|
|
end
|
|
|
|
|
|
|
|
def after_sign_in_path_for(resource)
|
|
|
|
# stored_location_for(resource) ||
|
|
|
|
backoffice_path
|
|
|
|
end
|
|
|
|
end
|