aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/destroy
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-10-28 20:44:58 +0200
committerKasper Timm Hansen <kaspth@gmail.com>2016-10-28 20:44:58 +0200
commit83776676e54b387fc52081ff31cfd7710bae9e03 (patch)
tree659ccce3c9b437ede7d1ecf86edd25aa67bbbd02 /railties/lib/rails/commands/destroy
parent86bf5adaa810ef9d988cc64dbe1b466f0f74e817 (diff)
downloadrails-83776676e54b387fc52081ff31cfd7710bae9e03.tar.gz
rails-83776676e54b387fc52081ff31cfd7710bae9e03.tar.bz2
rails-83776676e54b387fc52081ff31cfd7710bae9e03.zip
Hide commands from API site.
They're just barren on the site and confure more than guide, instead rely on the built in --help to guide users.
Diffstat (limited to 'railties/lib/rails/commands/destroy')
-rw-r--r--railties/lib/rails/commands/destroy/destroy_command.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/commands/destroy/destroy_command.rb b/railties/lib/rails/commands/destroy/destroy_command.rb
index 5e6b7f9371..5b552b2070 100644
--- a/railties/lib/rails/commands/destroy/destroy_command.rb
+++ b/railties/lib/rails/commands/destroy/destroy_command.rb
@@ -2,8 +2,8 @@ require "rails/generators"
module Rails
module Command
- class DestroyCommand < Base
- def help # :nodoc:
+ class DestroyCommand < Base # :nodoc:
+ def help
Rails::Generators.help self.class.command_name
end