Method: Effective::CrudController::Actions#index
- Defined in:
- app/controllers/concerns/effective/crud_controller/actions.rb
#index ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 |
# File 'app/controllers/concerns/effective/crud_controller/actions.rb', line 5 def index Rails.logger.info 'Processed by Effective::CrudController#index' EffectiveResources.(self, :index, resource_klass) @page_title ||= resource_plural_name.titleize self.resources ||= resource_scope.all if resource_scope.respond_to?(:all) @datatable = resource_datatable() run_callbacks(:resource_render) end |