Sha256: c0996362d1ed0bd1dae77c1cd33ce784f31470d590f53a4ff4127087947291e1

Contents?: true

Size: 344 Bytes

Versions: 5

Compression:

Stored size: 344 Bytes

Contents

module FrontKit
  module MetaHelper

    def meta_tags
      push_meta_tag property: 'fk:state', content: FrontKit.encode(frontend_state)
      String.new.tap do |buffer|
        buffer << csrf_meta_tags
        meta_tags_container.each do |meta_hash|
          buffer << tag(:meta, meta_hash)
        end
      end.html_safe
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
frontkit-rails-0.0.5 app/helpers/front_kit/meta_helper.rb
frontkit-rails-0.0.4 app/helpers/front_kit/meta_helper.rb
frontkit-rails-0.0.3 app/helpers/front_kit/meta_helper.rb
frontkit-rails-0.0.1 app/helpers/front_kit/meta_helper.rb
frontkit-rails-0.0.0 app/helpers/front_kit/meta_helper.rb