This was for my reference but i thought index will take care of show_many by returning a subset.

-----Original Message-----
From: "Andrew White" <notifications@github.com>
Sent: ‎01-‎08-‎2013 02:21
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:
>              end
>  
> +
> +            # get    '/posts',             to: 'posts#index',        as: 'posts_index'
> +            # post   '/posts',             to: 'posts#create',       as:  nil
> +            # get    '/posts/new',         to: 'posts#new',          as: 'new_post'
> +            # get    '/posts/:ids/edit',   to: 'posts#edit_many',    as: 'edit_posts', ids: /(?:[^\.\/\?]|\.\.)+/
> +            # get    '/posts/:id/edit',    to: 'posts#edit',         as: 'edit_post',  id:  /[^,\.\/\?]+/
> +            # get    '/posts/:ids',        to: 'posts#show_many',    as: 'posts',      ids: /(?:[^\.\/\?]|\.\.)+/
The show_many action is in this list but isn't added above
—
Reply to this email directly or view it on GitHub.