Sha256: dbae2a947c2c5a9835f9288a848d9e5a532cadeff2620cce8bdc1161ed4b8fd0

Contents?: true

Size: 171 Bytes

Versions: 13

Compression:

Stored size: 171 Bytes

Contents

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
config_manager-1.0.4 app/helpers/config_manager/application_helper.rb
config_manager-1.0.3 app/helpers/config_manager/application_helper.rb
config_manager-1.0.2 app/helpers/config_manager/application_helper.rb
config_manager-1.0.0 app/helpers/config_manager/application_helper.rb
config_manager-0.0.10 app/helpers/config_manager/application_helper.rb
config_manager-0.0.9 app/helpers/config_manager/application_helper.rb
config_manager-0.0.8 app/helpers/config_manager/application_helper.rb
config_manager-0.0.7 app/helpers/config_manager/application_helper.rb
config_manager-0.0.6 app/helpers/config_manager/application_helper.rb
config_manager-0.0.5 app/helpers/config_manager/application_helper.rb
config_manager-0.0.4 app/helpers/config_manager/application_helper.rb
config_manager-0.0.2 app/helpers/config_manager/application_helper.rb
config_manager-0.0.1 app/helpers/config_manager/application_helper.rb