On Tue, Dec 6, 2011 at 7:25 PM, news.anand11
<news.anand11-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
--
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.com
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.