HI,
I have the following in my routes:
resources :photos, :except = [:new, :edit]
When I get /photos/new instead of getting a no route error, it
routes to show and recognizes new as id.
Is that normal?
Panayotis
--
You received this message because you are subscribed to the Google Groups
This is not a core ruby on rails question. This would be more suited for the
Rubyonrails-talk mailing list.
I will still answer it though.
The reason for this is due to how it matches the route for the show action. The
route is like this:
/posts/:id.:format
This means anything following