app/helpers/admin/base_helper.rb
# return 'current' string if the controller name is galleries
return 'current' string if the controller name is galleries
return ' current ' string if the controller name is galleries
def class_galleries
    if controller.controller_name == 'galleries'
      "current"
    end
  end
def class_galleries if controller . controller_name == 'galleries' "current" end end
return 'current' string if the controller name is galleries
return ' current ' string if the controller name is galleries