Class: ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- ApplicationController
- Includes:
- Concerns::Auth, Concerns::FoodcoopScope, Concerns::Locale, PathHelper
- Defined in:
- app/controllers/application_controller.rb
Direct Known Subclasses
Admin::BaseController, Api::V1::BaseController, ArticleCategoriesController, ArticlesController, DeliveriesController, ErrorsController, Finance::BankTransactionsController, Finance::BaseController, Finance::FinancialTransactionsController, Finance::InvoicesController, Foodcoop::OrdergroupsController, Foodcoop::UsersController, Foodcoop::WorkgroupsController, GroupOrderArticlesController, GroupOrdersController, HomeController, InvitesController, LoginController, OrderArticlesController, OrderCommentsController, OrdersController, PickupsController, SessionsController, StockTakingsController, StockitController, StylesController, SuppliersController, TasksController, UsersController
Class Method Summary collapse
-
.current ⇒ Object
Returns the controller handling the current request.
Methods included from PathHelper
#finance_group_transactions_path
Class Method Details
.current ⇒ Object
Returns the controller handling the current request.
15 16 17 |
# File 'app/controllers/application_controller.rb', line 15 def self.current Thread.current[:application_controller] end |