Hassan Schroeder wrote: > On Sun, Oct 12, 2008 at 8:02 AM, Stefano Bonomi > <[EMAIL PROTECTED]> wrote:
> 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] Thanks a lot Hassan! It works perfectly! -- 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 -~----------~----~----~----~------~----~------~--~---

