aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-08-09 23:53:54 +0200
committerGitHub <noreply@github.com>2016-08-09 23:53:54 +0200
commit7b31b06d4afd73734ac54cbbac105f0eab8d0d43 (patch)
tree94789c1c7f3c8e1c611a30548cd90ecbb34f98ea /railties/lib/rails/commands
parent67d0c9ee93100dbdcafd20b0632e5bef6735888e (diff)
parentf006de5dc5a709f5dc8604ebd43f7741da30cd9f (diff)
downloadrails-7b31b06d4afd73734ac54cbbac105f0eab8d0d43.tar.gz
rails-7b31b06d4afd73734ac54cbbac105f0eab8d0d43.tar.bz2
rails-7b31b06d4afd73734ac54cbbac105f0eab8d0d43.zip
Merge pull request #26095 from kamipo/fix_broken_alignment_by_auto_correct
Fix broken alignments caused by auto-correct commit 411ccbd
Diffstat (limited to 'railties/lib/rails/commands')
-rw-r--r--railties/lib/rails/commands/server.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/server.rb b/railties/lib/rails/commands/server.rb
index bf8ae0a5ee..0339849bfe 100644
--- a/railties/lib/rails/commands/server.rb
+++ b/railties/lib/rails/commands/server.rb
@@ -88,7 +88,8 @@ module Rails
end
def default_options
- super.merge( Port: ENV.fetch("PORT", 3000).to_i,
+ super.merge(
+ Port: ENV.fetch("PORT", 3000).to_i,
Host: ENV.fetch("HOST", "localhost").dup,
DoNotReverseLookup: true,
environment: (ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development").dup,