Sha256: f256eea84c87e02dbb759af0d382659c65a420be0b7f949b827b942eeb9d371c
Contents?: true
Size: 573 Bytes
Versions: 3
Compression:
Stored size: 573 Bytes
Contents
module RedmineCrm module ExternalAssetsHelper include ActionView::Helpers::JavaScriptHelper def select2_assets return if @select2_tag_included @select2_tag_included = true javascript_include_tag('select2', plugin: GEM_NAME) + stylesheet_link_tag('select2', plugin: GEM_NAME) + javascript_include_tag('select2_helpers', plugin: GEM_NAME) end def chartjs_assets return if @chartjs_tag_included @chartjs_tag_included = true javascript_include_tag('Chart.bundle.min', plugin: GEM_NAME) end end end
Version data entries
3 entries across 3 versions & 1 rubygems