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 having the action at the end instead of 
the beginning.

Is this correct?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-core/-/aeTHk98ctgQJ.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-core+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to