module LayoutHelper
  TITLE = 'Git Reports'.freeze
  DESCRIPTION = 'Git Reports is a free service that lets you set up a stable URL for anonymous users to submit bugs and other Issues to your GitHub repositories.'.freeze
  KEYWORDS = 'GitHub, git, issue, report, bug'.freeze

  def default_meta
    {
      description: DESCRIPTION,
      keywords: KEYWORDS,
      title: TITLE,
      icon: '/favicon.ico',
      og: {
        title: TITLE,
        url: request.url,
        site_name: TITLE,
        description: DESCRIPTION,
        image: 'https://gitreports.com/images/alarm.png',
        type: 'website'
      }
    }
  end

  def bootstrap_class_for(flash_type)
    case flash_type.to_sym
    when :success
      'alert-success'
    when :error
      'alert-error'
    when :notice
      'alert-info'
    end
  end
end

module LayoutHelper
  TITLE = 'Git Reports'.freeze
  DESCRIPTION = 'Git Reports is a free service that lets you set up a stable URL for anonymous users to submit bugs and other Issues to your GitHub repositories.'.freeze
  KEYWORDS = 'GitHub, git, issue, report, bug'.freeze

  def default_meta
    {
      description: DESCRIPTION,
      keywords: KEYWORDS,
      title: TITLE,
      icon: '/favicon.ico',
      og: {
        title: TITLE,
        url: request.url,
        site_name: TITLE,
        description: DESCRIPTION,
        image: 'https://gitreports.com/images/alarm.png',
        type: 'website'
      }
    }
  end

  def bootstrap_class_for(flash_type)
    case flash_type.to_sym
    when :success
      'alert-success'
    when :error
      'alert-danger'
    when :notice
      'alert-info'
    end
  end
end

Fix class for error alert
Fix class for error alert
