Class: ActionController::Base
- Inherits:
-
Object
- Object
- ActionController::Base
- Defined in:
- lib/karsthammer-inherited_resources.rb
Class Method Summary collapse
-
.inherit_resources ⇒ Object
If you cannot inherit from InheritedResources::Base you can call inherit_resource in your controller to have all the required modules and funcionality included.
Class Method Details
.inherit_resources ⇒ Object
If you cannot inherit from InheritedResources::Base you can call inherit_resource in your controller to have all the required modules and funcionality included.
37 38 39 40 41 |
# File 'lib/karsthammer-inherited_resources.rb', line 37 def self.inherit_resources InheritedResources::Base.inherit_resources(self) initialize_resources_class_accessors! create_resources_url_helpers! end |