private Method

Resources.map_default_singleton_actions(map, resource)

There's no documentation for this item.

Source Code

# File action_controller/resources.rb, line 471
def map_default_singleton_actions(map, resource)
  create_action_options = action_options_for("create", resource)
  map.connect(resource.path, create_action_options)
  map.connect("#{resource.path}.:format", create_action_options)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.