Skip to content

jkap/bootstrap_active_nav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BootstrapActiveNav

A Rails 3 view helper for generating Bootstrap navbar links with the active tag.

gem "bootstrap_active_nav"

To use:

<%= nav_link("Home", root_path) %>

Takes the same options as link_to, including blocks.

Released under an MIT License.