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