module SprocketsHelper

Public Instance Methods

sprockets_include_tag(name = nil) click to toggle source
# File lib/sprockets_helper.rb, line 2
def sprockets_include_tag(name = nil)
  if name
    javascript_include_tag("/sprockets/#{ name.to_s }.js")
  else
    javascript_include_tag("/sprockets.js")
  end
end