diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2010-01-03 19:46:10 -0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2010-01-03 19:46:10 -0800 |
commit | 437df4a8d3385bd28812cf6ca5662287d5246517 (patch) | |
tree | 0a4d19750dce9a25edf53cd3d76c47bf243bc007 /railties/lib/rails | |
parent | 0ad07d9c26321f426d7d4c234d476e71d1537efb (diff) | |
download | rails-437df4a8d3385bd28812cf6ca5662287d5246517.tar.gz rails-437df4a8d3385bd28812cf6ca5662287d5246517.tar.bz2 rails-437df4a8d3385bd28812cf6ca5662287d5246517.zip |
Describe intent, not implementation
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config.ru | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config.ru b/railties/lib/rails/generators/rails/app/templates/config.ru index acb8435446..2ab821e38d 100644 --- a/railties/lib/rails/generators/rails/app/templates/config.ru +++ b/railties/lib/rails/generators/rails/app/templates/config.ru @@ -1,5 +1,4 @@ -# Require your environment file to bootstrap Rails -require ::File.expand_path('../config/environment', __FILE__) +# This file is used by Rack-based servers to start the application. -# Dispatch the request +require ::File.expand_path('../config/environment', __FILE__) run <%= app_const %>.instance |