On Sun, Oct 12, 2008 at 8:02 AM, Stefano Bonomi <[EMAIL PROTECTED]> wrote:
> I have a view, where I need to display some text and then after 5 > seconds, redirect to an action automatically (sending one parameter > too). Since this is client-side behavior, it has nothing to do with PHP, RoR or any other platform. You can do this using either JavaScript or a META tag. For the latter, put something like this in the head of your layout: <%= @refresh %> :: and something like this in your controller: @refresh = '<meta http-equiv="refresh" content="5;url=/foo/param"/>' :: with the appropriate values. HTH! -- Hassan Schroeder ------------------------ [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

