Sha256: 75b778a02e01453d218e12666cd74e6865db4610f3391a5fc686b9a65c7b8f4a
Contents?: true
Size: 588 Bytes
Versions: 3
Compression:
Stored size: 588 Bytes
Contents
# respond_to is the only file that should be loaded before hand. All others # are loaded on demand. # require File.join(File.dirname(__FILE__), 'inherited_resources', 'respond_to') module InheritedResources; end class ActionController::Base # If you cannot inherit from InheritedResources::Base you can call # inherit_resource in your controller to have all the required modules and # funcionality included. # def self.inherit_resources InheritedResources::Base.inherit_resources(self) initialize_resources_class_accessors! create_resources_url_helpers! end end
Version data entries
3 entries across 3 versions & 1 rubygems