lib/gemcache/ruby/1.9.1/gems/actionpack-3.2.2/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 new
          unless resource_scope?
            raise ArgumentError, "can't use new outside resource(s) scope"
          end
          with_scope_level(:new) do
            scope(parent_resource.new_scope(action_path(:new))) do
              yield
            end
          end
        end
def new unless resource_scope? raise ArgumentError , "can't use new outside resource(s) scope" end with_scope_level ( :new ) do scope ( parent_resource . new_scope ( action_path ( :new ) ) ) do yield 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 .