Thanks judofyr
Le 31 déc. 2013 16:03, "Magnus Holm" <[email protected]> a écrit :

> Sorry for the late reply.
>
> Here's how you override the 404:
>
> module YourApp
>   def r404(path)
>     "My custom 404"
>   end
> end
>
> // Magnus Holm
>
>
> On Tue, Dec 10, 2013 at 12:32 PM, Francois Sery <[email protected]>
> wrote:
> > Bonjour,
> > one more newbie question: how do i customize the 404  "campin problem"
> page?
> > i cant' find the answer anywhere else. i've read about the @status and
> > @headers  but i don't kwow how to "capture" the error ? maybe a special
> > route ?
> >
> > Thanks again for your help !
> >
> > _______________________________________________
> > Camping-list mailing list
> > [email protected]
> > http://rubyforge.org/mailman/listinfo/camping-list
> _______________________________________________
> Camping-list mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/camping-list
>
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to