app/helpers/coco/integration_helper.rb in coveragebook_components-0.8.2 vs app/helpers/coco/integration_helper.rb in coveragebook_components-0.8.3
- old
+ new
@@ -1,16 +1,16 @@
module Coco
module IntegrationHelper
- def coco_javascript_tag(context, dev: ENV["COCO_PATH"], **opts)
- javascript_include_tag "coco/#{context}#{".dev" if dev}", **opts
+ 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"], **opts)
- stylesheet_link_tag "coco/#{context}#{".dev" if dev}", **opts
+ 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