I'm not sure where my issue is - if it's in my routes file (maybe I need to be more specific) or if it's the format of the URL.
I am working on a screen scraping project just for fun. It is designed where the URL of the page you are on is passed into the Rails app, so if you are on
and click the button for my app, it routes to
My routes file has this:
The problem I face is it works for part of the URL. So if I do:
it works. But as soon as I add in the second '.', I start getting errors.
No route matches [GET] "/pages/http%3A%2F%2Fguides.rubyonrails.org"