Sha256: 7d2504fe89596bbc1591b9c5f98185fd83afaac0fa74859ab1e21cbc266ac49e
Contents?: true
Size: 299 Bytes
Versions: 18
Compression:
Stored size: 299 Bytes
Contents
module Konacha module SpecsHelper def spec_include_tag(*specs) assets = specs.map do |spec| asset_paths.asset_for(spec.asset_name, "js").to_a end.flatten.map(&:logical_path).uniq javascript_include_tag *(assets << {:body => true, :debug => false}) end end end
Version data entries
18 entries across 18 versions & 1 rubygems