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 prefix_name_for_action(as, action) 
            if as
              as.to_s
            elsif !canonical_action?(action, @scope[:scope_level])
              action.to_s
            end
          end
def prefix_name_for_action ( as , action ) if as as . to_s elsif ! canonical_action? ( action , @scope [ :scope_level ] ) action . to_s 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:
as
<not_specific>
action
<not_specific>