aboutsummaryrefslogtreecommitdiffstats
path: root/railties/Rakefile
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2011-04-29 21:44:05 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2011-04-29 21:44:05 -0300
commit507626416304b4d64221a3c5652fc0fd5d29e2bf (patch)
tree30d7bf795ba4e45530521ed1948315cd69b1a6d3 /railties/Rakefile
parente350641d021829748bfdc08c4e03ddc6607ff79c (diff)
downloadrails-507626416304b4d64221a3c5652fc0fd5d29e2bf.tar.gz
rails-507626416304b4d64221a3c5652fc0fd5d29e2bf.tar.bz2
rails-507626416304b4d64221a3c5652fc0fd5d29e2bf.zip
Make update_ujs task update the right files
Diffstat (limited to 'railties/Rakefile')
-rwxr-xr-xrailties/Rakefile4
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 -------------------------------------------------------------------------