diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2015-03-20 15:51:01 -0700 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2015-03-20 15:51:01 -0700 |
commit | 9e80c29cd5f82359730e7e7474c24b8ab844549d (patch) | |
tree | 7d2141f2d4a3c08a376dc433a45cb5c861b35733 /railties/lib | |
parent | 37e002ba96ad7f08796cdc7515de345ac5a88544 (diff) | |
download | rails-9e80c29cd5f82359730e7e7474c24b8ab844549d.tar.gz rails-9e80c29cd5f82359730e7e7474c24b8ab844549d.tar.bz2 rails-9e80c29cd5f82359730e7e7474c24b8ab844549d.zip |
`rake initializer` -> `rake initializers`
Also edited the copy to be more consistent with `rake routes`.
See #19323.
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/tasks.rb | 2 | ||||
-rw-r--r-- | railties/lib/rails/tasks/initializers.rake (renamed from railties/lib/rails/tasks/initializer.rake) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/tasks.rb b/railties/lib/rails/tasks.rb index 5dfc96894c..2c3d278eca 100644 --- a/railties/lib/rails/tasks.rb +++ b/railties/lib/rails/tasks.rb @@ -4,7 +4,7 @@ require 'rake' %w( annotations framework - initializer + initializers log middleware misc diff --git a/railties/lib/rails/tasks/initializer.rake b/railties/lib/rails/tasks/initializers.rake index 83b9dc6b71..c9d1b671b1 100644 --- a/railties/lib/rails/tasks/initializer.rake +++ b/railties/lib/rails/tasks/initializers.rake @@ -1,4 +1,4 @@ -desc "Prints out initializers for your application" +desc "Print out all defined initializers in the order they are invoked by Rails." task initializer: :environment do Rails.application.initializers.tsort_each do |initializer| puts initializer.name |