Rel attribute in <a> in Rails 3 erb file

I want to know that is there any rel attribute in <%= link_to_peramlink
%>
like tag in html has.

For example: in html my link

I have <%= link_to_permalink article,“con”, nil, “my link”, “5m” %> in
rails. Is there any rel attribute in that?

On Tue, Dec 6, 2011 at 7:25 PM, news.anand11 [email protected]
wrote:

I want to know that is there any rel attribute in <%= link_to_peramlink %>
like tag in html has.

For example: in html my link

I have <%= link_to_permalink article,“con”, nil, “my link”, “5m” %> in
rails. Is there any rel attribute in that?

i don’t see any helper called link_to_permalink in the api so i guess
you’ve created that helper.
to add the rel attribute to an anchor tag

<%= link_to ‘link text’, url, :rel => ‘rel value’ %>


You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.