Read about routes. I'm not an expert but I remember reading about
being able to set a default 'catch all' to redirect wherever you want.

Pepe

On Aug 19, 12:13 am, brianp <brian.o.pea...@gmail.com> wrote:
> Hey,
> I was wondering. If someone travels to a url ie.
> app.com/controller/method
>
> and method does not exist. How do i present them with a page not found
> error instead of getting Rails method not found errors?
>
> thanks,
> bp
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to