diff options
author | claudiob <claudiob@gmail.com> | 2014-11-08 10:58:44 -0800 |
---|---|---|
committer | Rafael Mendonça França <rafael.franca@plataformatec.com.br> | 2014-11-10 22:29:45 -0200 |
commit | d4ce2bb06d6479a99657617294a4fe7fd6cafa73 (patch) | |
tree | ad1699983cf91e65272724a5c67308a39c8b6cee /railties/lib/rails/generators | |
parent | 99dccf1aae31520b701fc37e62542db1e6c0994f (diff) | |
download | rails-d4ce2bb06d6479a99657617294a4fe7fd6cafa73.tar.gz rails-d4ce2bb06d6479a99657617294a4fe7fd6cafa73.tar.bz2 rails-d4ce2bb06d6479a99657617294a4fe7fd6cafa73.zip |
Remove unnecessary double space
Replaces the following in two places:
```diff
-require ::File.expand_path('../config/environment', __FILE__)
+require ::File.expand_path('../config/environment', __FILE__)
```
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/bin/rails | 2 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config.ru | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/bin/rails b/railties/lib/rails/generators/rails/app/templates/bin/rails index 6a128b95e5..80ec8080ab 100644 --- a/railties/lib/rails/generators/rails/app/templates/bin/rails +++ b/railties/lib/rails/generators/rails/app/templates/bin/rails @@ -1,3 +1,3 @@ -APP_PATH = File.expand_path('../../config/application', __FILE__) +APP_PATH = File.expand_path('../../config/application', __FILE__) require_relative '../config/boot' require 'rails/commands' diff --git a/railties/lib/rails/generators/rails/app/templates/config.ru b/railties/lib/rails/generators/rails/app/templates/config.ru index 5bc2a619e8..bd83b25412 100644 --- a/railties/lib/rails/generators/rails/app/templates/config.ru +++ b/railties/lib/rails/generators/rails/app/templates/config.ru @@ -1,4 +1,4 @@ # This file is used by Rack-based servers to start the application. -require ::File.expand_path('../config/environment', __FILE__) +require ::File.expand_path('../config/environment', __FILE__) run Rails.application |