vendor/bundle/gems/actionpack-4.0.0/lib/action_dispatch/routing/mapper.rb
# CANONICAL_ACTIONS holds all actions that does not need a prefix or
# a path appended since they fit properly in their scope level.
CANONICAL_ACTIONS holds all actions that does not need a prefix or
a path appended since they fit properly in their scope level.
CANONICAL_ACTIONS holds all actions that does not need a prefix or a path appended since they fit properly in their scope level .
def decomposed_match(path, options) 
          if on = options.delete(:on)
            send(on) { decomposed_match(path, options) }
          else
            case @scope[:scope_level]
            when :resources
              nested { decomposed_match(path, options) }
            when :resource
              member { decomposed_match(path, options) }
            else
              add_route(path, options)
            end
          end
        end
def decomposed_match ( path , options ) if on = options . delete ( :on ) send ( on ) { decomposed_match ( path , options ) } else case @scope [ :scope_level ] when :resources nested { decomposed_match ( path , options ) } when :resource member { decomposed_match ( path , options ) } else add_route ( path , options ) end end end
CANONICAL_ACTIONS holds all actions that does not need a prefix or
a path appended since they fit properly in their scope level.
CANONICAL_ACTIONS holds all actions that does not need a prefix or a path appended since they fit properly in their scope level .
# :nodoc:
path
<not_specific>
options
<not_specific>