RubyGems.org

Any link to the current page will have the class "current" (or whatever class name you designate). This allows for easy styling without having the logic encoded multiple places throughout your templates.

installgem install rack_current_page -v 0.0.1
Authors

Eric Anderson

2,100 total downloads 672 for this version
Owners

5866464ebc16b5c4729fff4fe7d8fbe7

Gemfile
gem 'rack_current_page', '~> 0.0.1'
Versions
  1. 0.0.3 December 17, 2012 (4.5 KB)
  2. 0.0.2 December 10, 2012 (4.5 KB)
  3. 0.0.1 December 10, 2012 (4.5 KB)
Runtime Dependencies
  1. rack >= 0
  2. rack_replace >= 0
Development Dependencies
  1. debugger >= 0
  2. rake >= 0