Class: Jobshop::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Jobshop::ApplicationController
- Includes:
- Pundit
- Defined in:
- app/controllers/jobshop/application_controller.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#after_sign_in_path_for(resource_or_scope) ⇒ Object
after_action :verify_authorized, except: :index after_action :verify_policy_scoped, only: :index.
Instance Method Details
#after_sign_in_path_for(resource_or_scope) ⇒ Object
after_action :verify_authorized, except: :index after_action :verify_policy_scoped, only: :index
19 20 21 22 23 24 25 |
# File 'app/controllers/jobshop/application_controller.rb', line 19 def after_sign_in_path_for(resource_or_scope) if !resource_or_scope.onboard? team_setup_path else super end end |