Ralph Shnelvar wrote:
> OK ... so how do I get a 404 error instead of a
>
> Routing Error
>
> No route matches "/xxx" with {:method=>:get}
Stop fighting Rails! AFAIK, Rails already returns HTTP status 404 if it
hits a RoutingError. You don't need to do anything else except
customize 404.html.
>
> Ralph
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.