:collection was confusing with the collection function call. That's why i went for :bulk

-----Original Message-----
From: "Andrew White" <notifications@github.com>
Sent: ‎01-‎08-‎2013 01:56
To: "ujjwalt/rails" <rails@noreply.github.com>
Cc: "Ujjwal Thaakar" <ujjwalthaakar@gmail.com>
Subject: Re: [rails] Default Collection Routing (#1)

In actionpack/lib/action_dispatch/routing/mapper.rb:
> @@ -948,8 +948,8 @@ module Resources
>          # CANONICAL_ACTIONS holds all actions that does not need a prefix or
>          # a path appended since they fit properly in their scope level.
>          VALID_ON_OPTIONS  = [:new, :collection, :member]
> -        RESOURCE_OPTIONS  = [:as, :controller, :path, :only, :except, :param, :concerns]
> -        CANONICAL_ACTIONS = %w(index create new show update destroy)
> +        RESOURCE_OPTIONS  = [:as, :controller, :path, :only, :except, :param, :concerns, :bulk]
Not sure about whether to call the option :bulk or :collection - I'll have to confer on that one.
—
Reply to this email directly or view it on GitHub.