Reminder

-----Original Message-----
From: "Andrew White" <notifications@github.com>
Sent: ‎01-‎08-‎2013 02:22
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: /(?:[^\.\/\?]|\.\.)+/
> +            # get    '/posts/:id',         to: 'posts#show',         as: 'post',       id:  /[^,\.\/\?]+/
> +            # put    '/posts/:ids',        to: 'posts#replace_many', as:  nil,         ids: /(?:[^\.\/\?]|\.\.)+/
> +            # patch  '/posts/:ids',        to: 'posts#update_many',  as:  nil,         ids: /(?:[^\.\/\?]|\.\.)+/
> +            # put    '/posts/:id',         to: 'posts#replace',      as:  nil,         id:  /[^,\.\/\?]+/
> +            # patch  '/posts/:id',         to: 'posts#update',       as:  nil,         id:  /[^,\.\/\?]+/
> +            # delete '/posts/:ids',        to: 'posts#destroy_many', as:  nil,         ids: /(?:[^\.\/\?]|\.\.)+/
> +            # delete '/posts/:id',         to: 'posts#destroy',      as:  nil
> +
Is this documentation or just a reminder?
—
Reply to this email directly or view it on GitHub.