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 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/CAL%3D0gLspKRNEVWPQmCZpKg-rbO_BeMWwvCmecLtg-tvLGfBL%2BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to