Sha256: 7719da244d3b254340b04c5f04762ff05bdd3e431ec62056e4491b70748498e4
Contents?: true
Size: 680 Bytes
Versions: 31
Compression:
Stored size: 680 Bytes
Contents
module Coco module IntegrationHelper def coco_javascript_tag(context, dev: ENV["COCO_PATH"], **opts) javascript_include_tag "coco/#{context}#{".dev" if dev}", **opts end def coco_javascript_file_path(context, dev: ENV["COCO_PATH"]) File.join(Coco::Engine.root, "app/assets/build/coco/#{context}#{".dev" if dev}.js") end def coco_stylesheet_tag(context, dev: ENV["COCO_PATH"], **opts) stylesheet_link_tag "coco/#{context}#{".dev" if dev}", **opts end def coco_stylesheet_file_path(context, dev: ENV["COCO_PATH"], **opts) File.join(Coco::Engine.root, "app/assets/build/coco/#{context}#{".dev" if dev}.css") end end end
Version data entries
31 entries across 31 versions & 1 rubygems