Mark Provan
Mark Provan

Reputation: 1061

link_to acting strangely in Rails

All my link_to's in my views seem to return the link text, but also the ink address in brackets. Why is this?

E.g

<%= link_to "Home", root_url %>

and renders in the view

<a href="http://localhost:3000/">Home (http://localhost:3000/) </a>

Upvotes: 0

Views: 83

Answers (1)

jrhicks
jrhicks

Reputation: 14997

Check your stylesheets. For example, I know plenty of print media css does that for the benefit of those who can't "click" their paper.

Upvotes: 7

Related Questions