diff options
author | claudiob <claudiob@gmail.com> | 2015-12-18 20:22:18 -0800 |
---|---|---|
committer | claudiob <claudiob@gmail.com> | 2015-12-18 20:22:18 -0800 |
commit | 70040184ab693e1632802da59518b9c2424aff47 (patch) | |
tree | 3d81b0cd7b4e57db0f47453ecfb988a0fb56b3e9 /railties | |
parent | 1611ab4db173a7596a7a94c58dabf1483f070304 (diff) | |
download | rails-70040184ab693e1632802da59518b9c2424aff47.tar.gz rails-70040184ab693e1632802da59518b9c2424aff47.tar.bz2 rails-70040184ab693e1632802da59518b9c2424aff47.zip |
Remove blank line generated in config.ru
Follow the lines of the other `.tt` files ([example](https://github.com/rails/rails/blob/1611ab4db173a7596a7a94c58dabf1483f070304/railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt#L26)) that have the space after the
condition to avoid too many white lines in the resulted file.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config.ru.tt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config.ru.tt b/railties/lib/rails/generators/rails/app/templates/config.ru.tt index 3a279ffcc0..70556fcc99 100644 --- a/railties/lib/rails/generators/rails/app/templates/config.ru.tt +++ b/railties/lib/rails/generators/rails/app/templates/config.ru.tt @@ -1,8 +1,8 @@ # This file is used by Rack-based servers to start the application. require ::File.expand_path('../config/environment', __FILE__) - <%- unless options[:skip_action_cable] -%> + # Action Cable uses EventMachine which requires that all classes are loaded in advance Rails.application.eager_load! require 'action_cable/process/logging' |