diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2018-07-07 09:41:48 +0200 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2018-07-07 09:41:48 +0200 |
commit | 688e48d93d7e4d7d66a726e024e1a262bbf31b17 (patch) | |
tree | 5ee7aefde320c4508b08b4e769c4ef1a0d5a5be3 /railties/lib | |
parent | b773318f5acbb41c549724ba0a9f5e32cd05aff8 (diff) | |
download | rails-688e48d93d7e4d7d66a726e024e1a262bbf31b17.tar.gz rails-688e48d93d7e4d7d66a726e024e1a262bbf31b17.tar.bz2 rails-688e48d93d7e4d7d66a726e024e1a262bbf31b17.zip |
Remove restart_command leftover from switching to Thor options.
Ref:
https://github.com/rails/rails/commit/654704247eba742e139cfaa8d1385f13605d9e12
Before the commit we had a restart_command in Rails::Server. But after
there's another one in Rails::ServerCommand. The command version of the
method is the right one as it's used in server_options.
Give the leftover method the boot.
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/commands/server/server_command.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/railties/lib/rails/commands/server/server_command.rb b/railties/lib/rails/commands/server/server_command.rb index 4fcb10d53f..2aa663cc0d 100644 --- a/railties/lib/rails/commands/server/server_command.rb +++ b/railties/lib/rails/commands/server/server_command.rb @@ -97,10 +97,6 @@ module Rails end end - def restart_command - "bin/rails server #{ARGV.join(' ')}" - end - def use_puma? server.to_s == "Rack::Handler::Puma" end |