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