Skip to content
This repository
Browse code

Make update_ujs task update the right files

  • Loading branch information...
commit 507626416304b4d64221a3c5652fc0fd5d29e2bf 1 parent e350641
Santiago Pastorino spastorino authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 railties/Rakefile
4 railties/Rakefile
@@ -46,8 +46,8 @@ task :generate_guides do
46 46 end
47 47
48 48 task :update_ujs do
49   - system "curl https://github.com/rails/prototype-ujs/raw/master/src/rails.js > lib/rails/generators/rails/app/templates/public/javascripts/prototype_ujs.js"
50   - system "curl https://github.com/rails/jquery-ujs/raw/master/src/rails.js > lib/rails/generators/rails/app/templates/public/javascripts/jquery_ujs.js"
  49 + 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"
  50 + 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"
51 51 end
52 52
53 53 # Validate guides -------------------------------------------------------------------------

0 comments on commit 5076264

Please sign in to comment.
Something went wrong with that request. Please try again.