Sha256: c877df5edcb39b0813d44fae9844c08311a093c74a31383cbcb56d7a955c774f
Contents?: true
Size: 666 Bytes
Versions: 20
Compression:
Stored size: 666 Bytes
Contents
module Coco module IntegrationHelper def coco_javascript_tag(context, dev: ENV["COCO_PATH"], **) javascript_include_tag("coco/#{context}#{".dev" if dev}", **) 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"], **) stylesheet_link_tag("coco/#{context}#{".dev" if dev}", **) 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
20 entries across 20 versions & 1 rubygems