Class: EacRailsBase0::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- EacRailsBase0::ApplicationController
show all
- Includes:
- CanCanDry::ControllerAuthorization
- Defined in:
- app/controllers/eac_rails_base0/application_controller.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.active_scaffold_controller_for(klass) ⇒ Object
35
36
37
38
39
|
# File 'app/controllers/eac_rails_base0/application_controller.rb', line 35
def active_scaffold_controller_for(klass)
return ::EacUsersSupport::Admin::UsersController if klass == ::EacUsersSupport::User
super
end
|
Instance Method Details
#after_sign_in_path_for(resource) ⇒ Object
42
43
44
|
# File 'app/controllers/eac_rails_base0/application_controller.rb', line 42
def after_sign_in_path_for(resource)
stored_location_for(resource) || root_path
end
|