# URLs as parameters (no route found to match)

**URL:** <https://www.ruby-forum.com/t/urls-as-parameters-no-route-found-to-match/113600>\
**Category:** Rails\
**Created:** [September 2, 2007, 4:50pm UTC](https://www.ruby-forum.com/t/urls-as-parameters-no-route-found-to-match/113600 "2007-09-02T16:50:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![max](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e5b9ba/32.png) [@max](https://www.ruby-forum.com/u/max)\
**Post date:** [September 2, 2007, 4:50pm UTC](https://www.ruby-forum.com/t/urls-as-parameters-no-route-found-to-match/113600/1 "2007-09-02T16:50:16Z")

</div>

Hi,

I have a route that takes a URL as a parameter and I always get an “no  
route found to match” error, probably because of the .'s and /'s.

I guess this is a common problem, so what should I do? I there an easy  
way to encode the URL properly?

Thanks,  
Max
