access the Jquery::Rails::PROTOTYPE_JS constant correctly

This commit is contained in:
Andre Arko
2011-05-26 13:40:04 -07:00
parent 9adbff424c
commit 430efe809a

View File

@@ -12,7 +12,7 @@ module Jquery
source_root File.expand_path('../../../../../vendor/assets/javascripts', __FILE__)
def remove_prototype
PROTOTYPE_JS.each do |name|
Rails::PROTOTYPE_JS.each do |name|
remove_file "public/javascripts/#{name}.js"
end
end