app/helpers/application_helper.rb
def meta_description(desc = nil)
    if desc.present?
      content_for :meta_description, desc
    elsif content_for?(:meta_description)
      content_for :meta_description
    else
      ENV['DEFAULT_META_DESCRIPTION']
    end
  end
# helper method for defining meta descriptions
helper method for defining meta descriptions
helper method for defining meta descriptions
def meta_description(desc = nil)
    if desc.present?
      content_for :meta_description, desc
    elsif content_for?(:meta_description)
      content_for :meta_description
    else
      ENV['DEFAULT_META_DESCRIPTION']
    end
  end
def meta_description ( desc = nil ) if desc . present? content_for :meta_description , desc elsif content_for? ( :meta_description ) content_for :meta_description else ENV [ 'DEFAULT_META_DESCRIPTION' ] end end
helper method for defining meta descriptions
helper method for defining meta descriptions
desc