Sha256: b3859975d8199d28a11595c327b603ff749c516e5f5142c8fbaab7a7ed275f19
Contents?: true
Size: 209 Bytes
Versions: 3
Compression:
Stored size: 209 Bytes
Contents
module SprocketsHelper def sprockets_include_tag(name = nil) if name javascript_include_tag("/sprockets/#{ name.to_s }.js") else javascript_include_tag("/sprockets.js") end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
dm-sprockets-rails-0.0.2 | lib/sprockets_helper.rb |
sprockets-rails-0.0.1 | lib/sprockets_helper.rb |
sprockets-rails-0.0.0 | lib/sprockets_helper.rb |