about summary refs log tree commit diff stats
path: root/app/helpers/admin/admin_helper.rb
blob: 97781a0ef103d1aaddd896a3033499fda449daa3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
module Admin::AdminHelper

  def major_sidebar_attrs(section)
    if section == @section
      { class: "major active" }
    else
      { class: "major inactive" }
    end
  end

end