When I type 'http://localhost:3000/undefinded' I get this page: Routing Error
No route matches [GET] "/undefined" This is a route problem, it is trying to load that path. Thanks. Alfredo. El 03/05/2014, a las 14:51, Colin Law <[email protected]> escribió: > On 3 May 2014 13:41, Alfredo Barrero <[email protected]> wrote: >> Ok sorry. What I need is to redirect the application in the case a bad >> request comes to my application. For example: >> http://localhost:3000/undefinded >> >> The application have to redirect that request to a page that says something >> like "Sorry that page does not exist". > > That is already handled for you. Just edit public/404.html to say > whatever you like. > > Colin > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Ruby on Rails: Talk" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/rubyonrails-talk/ZIASaUTOaMg/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLspKRNEVWPQmCZpKg-rbO_BeMWwvCmecLtg-tvLGfBL%2BQ%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/5490C204-493D-42D8-BFF2-6CE6C7D1CC9B%40gmail.com. For more options, visit https://groups.google.com/d/optout.

