diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-04-29 21:44:05 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-04-29 21:44:05 -0300 |
commit | 507626416304b4d64221a3c5652fc0fd5d29e2bf (patch) | |
tree | 30d7bf795ba4e45530521ed1948315cd69b1a6d3 | |
parent | e350641d021829748bfdc08c4e03ddc6607ff79c (diff) | |
download | rails-507626416304b4d64221a3c5652fc0fd5d29e2bf.tar.gz rails-507626416304b4d64221a3c5652fc0fd5d29e2bf.tar.bz2 rails-507626416304b4d64221a3c5652fc0fd5d29e2bf.zip |
Make update_ujs task update the right files
-rwxr-xr-x | railties/Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index 26fa0bf6a5..8ef4f4b53d 100755 --- a/railties/Rakefile +++ b/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 ------------------------------------------------------------------------- |