diff options
author | schneems <richard.schneeman@gmail.com> | 2013-07-01 00:02:19 +0300 |
---|---|---|
committer | schneems <richard.schneeman@gmail.com> | 2013-06-30 22:03:39 -0400 |
commit | ec8d8652f36bc4bf2ea19b8f7dd264187efc99ae (patch) | |
tree | 39e4d63bf6d81339a2db3f46558401a350561cea /railties/lib/rails/commands/plugin_new.rb | |
parent | 6e583cdac30332f10c73bec4fe3e857b7cdb9975 (diff) | |
download | rails-ec8d8652f36bc4bf2ea19b8f7dd264187efc99ae.tar.gz rails-ec8d8652f36bc4bf2ea19b8f7dd264187efc99ae.tar.bz2 rails-ec8d8652f36bc4bf2ea19b8f7dd264187efc99ae.zip |
s/plugin_new/plugin
There are historical reasons that the `plugin` command was `plugin_new`, now those are no longer applicable, we should remove the naming edge case from the project. This PR is based off of comments from #11176
ATP Railties
Diffstat (limited to 'railties/lib/rails/commands/plugin_new.rb')
-rw-r--r-- | railties/lib/rails/commands/plugin_new.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/railties/lib/rails/commands/plugin_new.rb b/railties/lib/rails/commands/plugin_new.rb deleted file mode 100644 index 4d7bf3c9f3..0000000000 --- a/railties/lib/rails/commands/plugin_new.rb +++ /dev/null @@ -1,9 +0,0 @@ -if ARGV.first != "new" - ARGV[0] = "--help" -else - ARGV.shift -end - -require 'rails/generators' -require 'rails/generators/rails/plugin_new/plugin_new_generator' -Rails::Generators::PluginNewGenerator.start
\ No newline at end of file |