Module: MetaTagsHelper

Defined in:
lib/generators/templates/app/helpers/meta_tags_helper.rb

Instance Method Summary collapse

Instance Method Details

#iris_meta_tags(meta_tags = {}) ⇒ Object



2
3
4
5
6
7
8
9
10
11
# File 'lib/generators/templates/app/helpers/meta_tags_helper.rb', line 2

def iris_meta_tags(meta_tags = {})
  [
    set_title(meta_tags[:head_title]),
    meta_title(meta_tags[:head_title]),
    meta_description(meta_tags[:meta_description]),
    meta_keywords(meta_tags[:meta_keywords]),
    meta_author(meta_tags[:meta_author]),
    set_iris_css
  ].join("\n").html_safe
end