method
map_default_singleton_actions

map_default_singleton_actions(map, resource)
private
Hide source
# File actionpack/lib/action_controller/resources.rb, line 463 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