I would like to filter all incoming pages via my local rails server, so I would like to access the web by typing a url into my browser along the lines of:
http://localhost:3000/redirect/www.google.com I have a controller called redirect already, in it is a function called index just waiting to process the incoming url, which it hopes to find in params[:id] Now, could some kind soul, please tell me what line to add to my config/routes.rb so that this works? I tried reading http://darynholmes.wordpress.com/2008/03/15/beginners-tutorial-routing-in-rails-20-with-rest-part-1-of-n/ to find out, and while I thought it was a great tutorial, it did not seem to be getting to my problem quickly enough. Gratefully, Arun --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

