aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-12-01 12:24:02 -0600
committerJoshua Peek <josh@joshpeek.com>2008-12-01 12:24:02 -0600
commit25f6524b89900378d08de9ec45757813dbb650cf (patch)
treed75342bca96890456d75837701d68340be7df164 /railties
parent61958032d3dbb8da8363d02ccda8933b99421fb1 (diff)
downloadrails-25f6524b89900378d08de9ec45757813dbb650cf.tar.gz
rails-25f6524b89900378d08de9ec45757813dbb650cf.tar.bz2
rails-25f6524b89900378d08de9ec45757813dbb650cf.zip
opps, inner_app is in the wrong conditional
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/commands/server.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/server.rb b/railties/lib/commands/server.rb
index 3611f80ed3..7057fcc33f 100644
--- a/railties/lib/commands/server.rb
+++ b/railties/lib/commands/server.rb
@@ -80,9 +80,9 @@ if File.exist?(options[:config])
end
else
require RAILS_ROOT + "/config/environment"
+ inner_app = ActionController::Dispatcher.new
end
-inner_app = ActionController::Dispatcher.new
app = Rack::Builder.new {
use Rails::Rack::Logger
use Rails::Rack::Static