Sha256: a7aac9a74705eb443da2a4d83c79fb24c6c10c31d8c0c5b4ed805672946d7980
Contents?: true
Size: 514 Bytes
Versions: 2
Compression:
Stored size: 514 Bytes
Contents
module YeshuaCrm module ExternalAssetsHelper include ActionView::Helpers::JavaScriptHelper def select2_assets return if @select2_tag_included @select2_tag_included = true javascript_include_tag('select2', :plugin => 'yeshua_crm') + stylesheet_link_tag('select2', :plugin => 'yeshua_crm') end def chartjs_assets return if @chartjs_tag_included @chartjs_tag_included = true javascript_include_tag('Chart.bundle.min', :plugin => 'yeshua_crm') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yeshua_crm-1.0.1 | lib/yeshua_crm/helpers/external_assets_helper.rb |
yeshua_crm-1.0.0 | lib/yeshua_crm/helpers/external_assets_helper.rb |