Permalink
Browse files

Make update_ujs task update the right files

  • Loading branch information...
1 parent e350641 commit 507626416304b4d64221a3c5652fc0fd5d29e2bf @spastorino spastorino committed Apr 30, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/Rakefile
View
4 railties/Rakefile
@@ -46,8 +46,8 @@ task :generate_guides do
end
task :update_ujs do
- system "curl https://github.com/rails/prototype-ujs/raw/master/src/rails.js > lib/rails/generators/rails/app/templates/public/javascripts/prototype_ujs.js"
- system "curl https://github.com/rails/jquery-ujs/raw/master/src/rails.js > lib/rails/generators/rails/app/templates/public/javascripts/jquery_ujs.js"
+ system "curl https://github.com/rails/prototype-ujs/raw/master/src/rails.js > lib/rails/generators/rails/app/templates/vendor/assets/javascripts/prototype_ujs.js"
+ system "curl https://github.com/rails/jquery-ujs/raw/master/src/rails.js > lib/rails/generators/rails/app/templates/vendor/assets/javascripts/jquery_ujs.js"
end
# Validate guides -------------------------------------------------------------------------

0 comments on commit 5076264

Please sign in to comment.