Module: Enki::Admin::NavigationHelper
- Defined in:
- app/helpers/enki/admin/navigation_helper.rb
Instance Method Summary collapse
Instance Method Details
#nav_link_to(text, url, options) ⇒ Object
4 5 6 7 |
# File 'app/helpers/enki/admin/navigation_helper.rb', line 4 def nav_link_to(text, url, ) .merge!(:class => 'current') if url == request.fullpath link_to(text, url, ) end |