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 <sery.franc...@gmail.com> 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
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
_______________________________________________
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to