The pages are located in public/. You could use your own error
controller. Simply remove 500 and 404.html in public/ and set the
correct routes to match your error controller.


lg // andreas

--
DynamicDudes

Lightweight Ruby on Rails application development
http://dynamicdudes.com
http://rubyphunk.com




On Mon, Oct 20, 2008 at 12:03 PM, Sunny Bogawat
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>   In my application i had two error pages for 500 and 404 error.
>    500.html and 404.html
>    when someting went wrong this pages is called. but this pages are
> static pages if i want to add some dynamic data how i can add in it?
>    ex.
>         say user A's session going on and he click some bad url or
> something so
>     i wan t show user A's name and other data n 500.404.html page.
>
>   Please help me to find this? and find how to configure this error
> pages in application
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to