Method: Effective::CrudController::ClassMethods#effective_resource
- Defined in:
- app/controllers/concerns/effective/crud_controller.rb
#effective_resource ⇒ Object
This is used to define_actions_from_routes and for the buttons/submits/ons It doesn’t really work with the resource_scope correctly but the routes are important here
24 25 26 |
# File 'app/controllers/concerns/effective/crud_controller.rb', line 24 def effective_resource @_effective_resource ||= Effective::Resource.new(controller_path) end |