Re: [Rails-core] Routing path order of verbs

2012-08-16 Thread Luís Ferreira
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

[Rails-core] Routing path order of verbs

2012-08-15 Thread fedesoria
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