Sha256: cd391c44baf6d360330d7a0cfc8e58c17ac2351381baccd09490fcbde6bfa462

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 Bytes

Contents

module Coco
  module IntegrationHelper
    def coco_stylesheet_tag(context, dev: ENV["COCO_PATH"], **)
      stylesheet_link_tag("coco#{"/dev" if dev}/#{context}", **)
    end

    def coco_stylesheet_file_path(context, dev: ENV["COCO_PATH"], **opts)
      File.join(Coco::Engine.root, "app/assets/build/coco#{"/dev" if dev}/#{context}.css")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
coveragebook_components-0.15.0 app/helpers/coco/integration_helper.rb