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?
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---