From 83776676e54b387fc52081ff31cfd7710bae9e03 Mon Sep 17 00:00:00 2001 From: Kasper Timm Hansen Date: Fri, 28 Oct 2016 20:44:58 +0200 Subject: 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. --- railties/lib/rails/commands/generate/generate_command.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/lib/rails/commands/generate') diff --git a/railties/lib/rails/commands/generate/generate_command.rb b/railties/lib/rails/commands/generate/generate_command.rb index b381ca85b9..59b2febc43 100644 --- a/railties/lib/rails/commands/generate/generate_command.rb +++ b/railties/lib/rails/commands/generate/generate_command.rb @@ -2,8 +2,8 @@ require "rails/generators" module Rails module Command - class GenerateCommand < Base - def help # :nodoc: + class GenerateCommand < Base # :nodoc: + def help Rails::Generators.help self.class.command_name end -- cgit v1.2.3