app/helpers/deal_redemptions/admin_helper.rb
def site_name(name)
      site_name = name

      if name.length > 26
        site_name = "#{name[0..23]}..."
      end

      site_name
    end
# Sidebar site name - Limit string length to under 26 or append ... at the end of string
Sidebar site name - Limit string length to under 26 or append ... at the end of string
Sidebar site name - Limit string length to under 26 or append ... at the end of string
def site_name(name)
      site_name = name
      if name.length > 26
        site_name = "#{name[0..23]}..."
      end
      site_name
    end
def site_name ( name ) site_name = name if name . length > 26 site_name = "#{name[0..23]}..." end site_name end
Sidebar site name - Limit string length to under 26 or append ... at the end of string
Sidebar site name - Limit string length to under 26 or append ... at the end of string
name