aboutsummaryrefslogtreecommitdiffstats
path: root/railties/Rakefile
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2010-01-30 19:20:49 -0600
committerJoshua Peek <josh@joshpeek.com>2010-01-30 19:20:49 -0600
commit7d9ed8eec1c899dac10d582ced07149fe5c58c4f (patch)
treef1e854aa326739f59229b146b22f768c538870cd /railties/Rakefile
parentdb49c706b62e7ea2ab93f05399dbfddf5087ee0c (diff)
downloadrails-7d9ed8eec1c899dac10d582ced07149fe5c58c4f.tar.gz
rails-7d9ed8eec1c899dac10d582ced07149fe5c58c4f.tar.bz2
rails-7d9ed8eec1c899dac10d582ced07149fe5c58c4f.zip
Include prototype ujs adapter with new apps
Diffstat (limited to 'railties/Rakefile')
-rw-r--r--railties/Rakefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/Rakefile b/railties/Rakefile
index eff59f1f40..b8f5e81b85 100644
--- a/railties/Rakefile
+++ b/railties/Rakefile
@@ -64,6 +64,10 @@ task :generate_guides do
ruby "guides/rails_guides.rb"
end
+task :update_prototype_ujs do
+ system "curl http://github.com/rails/prototype-ujs/raw/master/src/rails.js > lib/generators/rails/app/templates/public/javascripts/rails.js"
+end
+
# Generate documentation ------------------------------------------------------------------
Rake::RDocTask.new { |rdoc|