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
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
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