Class: UtopiaData::ResourceController
- Inherits:
-
BaseController
- Object
- InheritedResources::Base
- BaseController
- UtopiaData::ResourceController
- Defined in:
- lib/utopia_data/resource_controller.rb
Overview
All Resources Controller inherits from this controller. It implements actions and helpers for resources.
Class Method Summary collapse
Class Method Details
.utopia_config=(config) ⇒ Object
27 28 29 30 31 32 |
# File 'lib/utopia_data/resource_controller.rb', line 27 def utopia_config=(config) @utopia_config = config defaults :resource_class => config.resource_class, :instance_name => config.resource_name.singular end |