aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authorJosef Šimánek <josef.simanek@gmail.com>2013-07-13 14:30:58 +0200
committerJosef Šimánek <josef.simanek@gmail.com>2013-07-13 14:44:06 +0200
commit8e1656e76f048893c552358fe02153b758c854e2 (patch)
tree7106940ac656b8b1351097f42e146a80fa7c058d /railties/lib/rails
parentbb8606face9612467ef22028a3fecf7d1f5c36c3 (diff)
downloadrails-8e1656e76f048893c552358fe02153b758c854e2.tar.gz
rails-8e1656e76f048893c552358fe02153b758c854e2.tar.bz2
rails-8e1656e76f048893c552358fe02153b758c854e2.zip
Remove update:application_controller rake task.
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/tasks/framework.rake14
1 files changed, 2 insertions, 12 deletions
diff --git a/railties/lib/rails/tasks/framework.rake b/railties/lib/rails/tasks/framework.rake
index 76a95304c3..bd4e7c33e0 100644
--- a/railties/lib/rails/tasks/framework.rake
+++ b/railties/lib/rails/tasks/framework.rake
@@ -1,6 +1,6 @@
namespace :rails do
- desc "Update configs and some other initially generated files (or use just update:configs, update:bin, or update:application_controller)"
- task update: [ "update:configs", "update:bin", "update:application_controller" ]
+ desc "Update configs and some other initially generated files (or use just update:configs or update:bin)"
+ task update: [ "update:configs", "update:bin" ]
desc "Applies the template supplied by LOCATION=(/path/to/template) or URL"
task :template do
@@ -62,15 +62,5 @@ namespace :rails do
task :bin do
invoke_from_app_generator :create_bin_files
end
-
- # desc "Rename application.rb to application_controller.rb"
- task :application_controller do
- old_style = Rails.root + '/app/controllers/application.rb'
- new_style = Rails.root + '/app/controllers/application_controller.rb'
- if File.exists?(old_style) && !File.exists?(new_style)
- FileUtils.mv(old_style, new_style)
- puts "#{old_style} has been renamed to #{new_style}, update your SCM as necessary"
- end
- end
end
end