instance method map_default_singleton_actions

Ruby on Rails 2.2.3

Last seen in v2.3.18 Private — implementation detail, not part of the public API

Available in: v2.2.3 v2.3.18

Signature

map_default_singleton_actions(map, resource)

No documentation comment.

Parameters

map req
resource req
Source
# File actionpack/lib/action_controller/resources.rb, line 598
      def map_default_singleton_actions(map, resource)
        map_resource_routes(map, resource, :create, resource.path, "#{resource.shallow_name_prefix}#{resource.singular}")
      end

Defined in actionpack/lib/action_controller/resources.rb line 598 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Resources

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close