mirror of
https://github.com/rails/jquery-rails.git
synced 2026-01-10 07:07:54 -05:00
access the Jquery::Rails::PROTOTYPE_JS constant correctly
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user