Class: Karafka::Web::Ui::Controllers::BaseController
- Inherits:
-
Object
- Object
- Karafka::Web::Ui::Controllers::BaseController
- Includes:
- Lib::Paginations
- Defined in:
- lib/karafka/web/ui/controllers/base_controller.rb
Overview
Base controller from which all the controllers should inherit.
Direct Known Subclasses
Pro::Ui::Controllers::BaseController, BecomeProController, ClusterController, ConsumersController, DashboardController, ErrorsController, JobsController, RoutingController, StatusController, SupportController, UxController
Constant Summary collapse
Class Attribute Summary collapse
-
.sortable_attributes ⇒ Object
Attributes on which we can sort in a given controller.
Instance Method Summary collapse
-
#initialize(params) ⇒ BaseController
constructor
A new instance of BaseController.
Constructor Details
#initialize(params) ⇒ BaseController
Returns a new instance of BaseController.
23 24 25 |
# File 'lib/karafka/web/ui/controllers/base_controller.rb', line 23 def initialize(params) @params = params end |
Class Attribute Details
.sortable_attributes ⇒ Object
Attributes on which we can sort in a given controller
17 18 19 |
# File 'lib/karafka/web/ui/controllers/base_controller.rb', line 17 def sortable_attributes @sortable_attributes end |