about summary refs log tree commit diff
path: root/app/helpers/application_helper.rb
blob: 5ed8499aadbc50421acb37a3d6f43f9416e86432 (plain) (blame)
1
2
3
4
5
module ApplicationHelper
  def active_nav_class(path)
    current_page?(path) ? 'active' : ''
  end
end