Changeset [40174b572fa933173d5d3c1983eaad7da015b13f] by Ian White

October 11th, 2008 @ 12:35 AM

enclosing_resource_name is the name of the mapped enclosing resource (which may not be the class name underscored). This keeps parity with resource_name, and allows sending params to the enclosing_resource_path like enclosing_resource_path(enclosing_resource_name => {:enabled => true})

Committed by Ian White

  • M lib/ardes/resources_controller.rb
  • M spec/lib/resources_controller_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

resources_controller is a rails plugin that eases the pain of RESTful controllers.