Reputation: 13
I am having hands on Rails 3.1 rc1. There is a weird issue keeps bothering me. Whenever I use link_to
function, the link href
also appearing.
For example:
<%= link_to 'Say Hello' , '/say/hello' %>
produces the below output in the browser
Say Hello (`/say/hello`)
I don't know why the link href
also displaying this way.
I tried the below as well:
< a href="/say/hello"> Say Hello < /a>
Still the same output. It seems like the issue is not related to Rails ???
Please help. You advise is valuable.
Upvotes: 1
Views: 1231
Reputation: 76
Are you using blueprint? I was seeing the same issue, and it was due to blueprint's print.css
:
a:link:after, a:visited:after {
content: " (" attr(href) ")";
font-size: 90%;
}
Upvotes: 6