16 lines
263 B
Ruby
16 lines
263 B
Ruby
class Gestionnaires::SessionsController < Devise::SessionsController
|
|
|
|
|
|
def new
|
|
@gestionnaire = Gestionnaire.new
|
|
end
|
|
|
|
def create
|
|
super
|
|
end
|
|
|
|
def after_sign_in_path_for(resource)
|
|
# stored_location_for(resource) ||
|
|
backoffice_path
|
|
end
|
|
end
|