Module: Enki::Admin::NavigationHelper

Defined in:
app/helpers/enki/admin/navigation_helper.rb

Instance Method Summary collapse

Instance Method Details



4
5
6
7
# File 'app/helpers/enki/admin/navigation_helper.rb', line 4

def nav_link_to(text, url, options)
  options.merge!(:class => 'current') if url == request.fullpath
  link_to(text, url, options)
end