Module: MicroCms::ApplicationHelper

Defined in:
app/helpers/micro_cms/application_helper.rb

Instance Method Summary collapse

Instance Method Details

#micro_cms_asset_tagsObject

rubocop:disable Rails/OutputSafety



6
7
8
9
10
# File 'app/helpers/micro_cms/application_helper.rb', line 6

def micro_cms_asset_tags
  js = load_gem_file 'micro_cms', 'app/assets/javascripts/micro_cms.js'
  css = load_gem_file 'micro_cms', 'app/assets/stylesheets/micro_cms/micro_cms.css'
  tag.script(js.html_safe) + tag.style(css)
end