Actually I don't know why that happens, but if you do:
resources :photos do
get 'view, :on => :member
end
It behaves as expected.
On Aug 16, 2012, at 1:59 AM, fedesoria wrote:
> Hi,
>
> I found a little confusing how this works, let me know if there's a reasoning
> for this:
>
> In theory a
Hi,
I found a little confusing how this works, let me know if there's a
reasoning for this:
In theory all routes paths follow this structure resource_action_path and
this works great except for the following action:
resources :photos do
get 'view'
end
which results in photo_view_path havin