diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-10-16 08:40:35 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-10-16 08:40:35 +0200 |
commit | 202225574df8ec9f76909920decf69ed3da96629 (patch) | |
tree | 061d5d56e786dca6d276a44adf64c1e5b2267249 /railties/lib/rails/commands | |
parent | 99798b99c05762886217cbd9fc6d2517127caf53 (diff) | |
parent | ce086b22e7e685adc9e24fb3b4da607919377e5e (diff) | |
download | rails-202225574df8ec9f76909920decf69ed3da96629.tar.gz rails-202225574df8ec9f76909920decf69ed3da96629.tar.bz2 rails-202225574df8ec9f76909920decf69ed3da96629.zip |
Merge pull request #17279 from aditya-kapoor/call-methods
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. |