diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-11-09 20:54:24 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-11-09 20:59:16 +0900 |
commit | d1e0bc7c17b1be2766e9fca228b4c61e01988b34 (patch) | |
tree | a79338fb0592219cb9bc402b3739e5a5e09243c1 /railties/lib | |
parent | be6e1b8f7dbce1940f47339657faab2c1fdeaa54 (diff) | |
download | rails-d1e0bc7c17b1be2766e9fca228b4c61e01988b34.tar.gz rails-d1e0bc7c17b1be2766e9fca228b4c61e01988b34.tar.bz2 rails-d1e0bc7c17b1be2766e9fca228b4c61e01988b34.zip |
Do not show credentials in generators help
Since credentials generator is executed via the credentials command and
does not need to be executed directly, so it is not necessary to show it in
help.
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators.rb b/railties/lib/rails/generators.rb index 2d265818f7..5592e8d78e 100644 --- a/railties/lib/rails/generators.rb +++ b/railties/lib/rails/generators.rb @@ -218,6 +218,7 @@ module Rails rails.delete("app") rails.delete("plugin") rails.delete("encrypted_secrets") + rails.delete("credentials") hidden_namespaces.each { |n| groups.delete(n.to_s) } |