The question is how to create this:

  <li class="active"><a href="#">Link
<span> class="sr-only">(current)</span></a></li> <li><a href="#">Link</a
</li>)

  Using link_to method

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8c6c072dfd7dc7795f236f215b28fb18%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 10 of 16 | next ›
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedMar 28, '12 at 2:16a
activeJun 8, '16 at 4:29a
posts16
users5
websiterubyonrails.org
irc#RubyOnRails

People

Translate

site design / logo © 2021 Grokbase