Module: ConfigManager::ApplicationHelper

Defined in:
app/helpers/config_manager/application_helper.rb

Instance Method Summary collapse

Instance Method Details

#active_class(path) ⇒ Object



3
4
5
6
7
8
9
# File 'app/helpers/config_manager/application_helper.rb', line 3

def active_class(path)
  if current_page?(path)
    "active"
  else
    ""
  end
end