# Prob linking to static page in public folder

**URL:** <https://www.ruby-forum.com/t/prob-linking-to-static-page-in-public-folder/127634>\
**Category:** Rails\
**Created:** [January 31, 2008, 12:23am UTC](https://www.ruby-forum.com/t/prob-linking-to-static-page-in-public-folder/127634 "2008-01-31T00:23:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lunaclaire](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/f4b2a3/32.png) [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Post date:** [January 31, 2008, 12:23am UTC](https://www.ruby-forum.com/t/prob-linking-to-static-page-in-public-folder/127634/1 "2008-01-31T00:23:10Z")

</div>

For the first time, I’m trying to link to a static page and running  
into a problem…

Here’s the link\_to code:

\<%= link\_to “Terms of Service”, ‘/terms\_of\_service.pdf’, :popup =\>  
true %\>

And here’s the error I’m getting:

no route found to match “/terms\_of\_service.pdf” with {:method=\>:get}

Should be simple and everything I’ve found says to do it this way…  
but, I must be missing something or doing it wrong. Any ideas?
