Flowdock
method

map_default_singleton_actions

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActionController::Resources
map_default_singleton_actions(map, resource) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/resources.rb, line 502
      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
Register or log in to add new notes.