method
map_default_singleton_actions
map_default_singleton_actions(map, resource)
private
Hide source
# File actionpack/lib/action_controller/resources.rb, line 610 def map_default_singleton_actions(map, resource) map_resource_routes(map, resource, :create, resource.path, "#{resource.shallow_name_prefix}#{resource.singular}") end