Class: Dscf::Banking::ApplicationController
- Inherits:
-
ActionController::API
- Object
- ActionController::API
- Dscf::Banking::ApplicationController
- Includes:
- Core::Authenticatable, Core::JsonResponse
- Defined in:
- app/controllers/dscf/banking/application_controller.rb
Direct Known Subclasses
AccountsController, ApplicationsController, DocumentsController, InterestConfigurationsController, InterestRateTiersController, InterestRateTypesController, ProductApprovalsController, ProductCategoriesController, TransactionTypesController, TransactionsController, VirtualAccountProductsController, VouchersController
Instance Method Summary collapse
-
#bypass_permissions_for_demo? ⇒ Boolean
TEMPORARY DEMO BYPASS: Bypass banking authorization checks for authenticated users only.
- #pundit_user ⇒ Object
Instance Method Details
#bypass_permissions_for_demo? ⇒ Boolean
TEMPORARY DEMO BYPASS: Bypass banking authorization checks for authenticated users only. Remove after the demo.
12 13 14 |
# File 'app/controllers/dscf/banking/application_controller.rb', line 12 def true end |
#pundit_user ⇒ Object
16 17 18 19 20 21 |
# File 'app/controllers/dscf/banking/application_controller.rb', line 16 def pundit_user user = current_user return nil unless user (user) end |