diff options
author | Aditya Kapoor <aditya.kapoor@vinsol.com> | 2014-10-16 11:05:58 +0530 |
---|---|---|
committer | Aditya Kapoor <aditya.kapoor@vinsol.com> | 2014-10-16 11:05:58 +0530 |
commit | ce086b22e7e685adc9e24fb3b4da607919377e5e (patch) | |
tree | d85bcc7e1c2cd52167cd5af3ffdc50a9f3edc77a /railties/lib/rails/commands | |
parent | 62f96c9e1fdfa5b832073f90e1fe592fbf3163bb (diff) | |
download | rails-ce086b22e7e685adc9e24fb3b4da607919377e5e.tar.gz rails-ce086b22e7e685adc9e24fb3b4da607919377e5e.tar.bz2 rails-ce086b22e7e685adc9e24fb3b4da607919377e5e.zip |
use require_command! instead of calling its definition
Diffstat (limited to 'railties/lib/rails/commands')
-rw-r--r-- | railties/lib/rails/commands/commands_tasks.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/commands_tasks.rb b/railties/lib/rails/commands/commands_tasks.rb index 6cfbc70c51..8bae08e44e 100644 --- a/railties/lib/rails/commands/commands_tasks.rb +++ b/railties/lib/rails/commands/commands_tasks.rb @@ -127,7 +127,7 @@ EOT require 'rails/generators' require_application_and_environment! Rails.application.load_generators - require "rails/commands/#{command}" + require_command!(command) end # Change to the application's path if there is no config.ru file in current directory. |