about summary refs log tree commit diff
path: root/app/helpers/application_helper.rb
blob: be82ff2fe38a62f88aecf2afefcfc2657c884b8a (plain) (blame)
1
2
3
4
5
6
7
# frozen_string_literal: true

module ApplicationHelper
  def active_nav_class(path)
    current_page?(path) ? 'active' : ''
  end
end