diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-03-27 08:29:20 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-03-27 08:29:20 +0900 |
commit | 9a0ad3f5efd34983baf873235356517c680860ee (patch) | |
tree | 9870ab50caadc5df22fd3c43e63d8cd0f4db949c /railties/lib | |
parent | 40ba03adaa743e2c67c82220794c9f11fae97d12 (diff) | |
download | rails-9a0ad3f5efd34983baf873235356517c680860ee.tar.gz rails-9a0ad3f5efd34983baf873235356517c680860ee.tar.bz2 rails-9a0ad3f5efd34983baf873235356517c680860ee.zip |
Do not show hidden namespaces in destroy commnad help
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/commands/destroy/destroy_command.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/commands/destroy/destroy_command.rb b/railties/lib/rails/commands/destroy/destroy_command.rb index 794673851d..281732a936 100644 --- a/railties/lib/rails/commands/destroy/destroy_command.rb +++ b/railties/lib/rails/commands/destroy/destroy_command.rb @@ -5,6 +5,9 @@ module Rails class DestroyCommand < Base # :nodoc: no_commands do def help + require_application_and_environment! + load_generators + Rails::Generators.help self.class.command_name end end |