diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-07-12 21:29:48 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-07-12 21:29:48 +0900 |
commit | 6f58b2cfc97d9ac2358600f18b0fabc48fdfc2c6 (patch) | |
tree | b0c3d32658fb03897afac75eb530c3c0a0b01939 /actionpack/lib/action_dispatch | |
parent | 7fc499d1353f98b96c09ee755045e4aa37880962 (diff) | |
download | rails-6f58b2cfc97d9ac2358600f18b0fabc48fdfc2c6.tar.gz rails-6f58b2cfc97d9ac2358600f18b0fabc48fdfc2c6.tar.bz2 rails-6f58b2cfc97d9ac2358600f18b0fabc48fdfc2c6.zip |
Enable `Layout/EmptyLinesAroundBlockBody` to reduce review cost in the future
We sometimes ask "✂️ extra blank lines" to a contributor in reviews like
https://github.com/rails/rails/pull/33337#discussion_r201509738.
It is preferable to deal automatically without depending on manpower.
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/static.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/static.rb b/actionpack/lib/action_dispatch/middleware/static.rb index 8130bfe2e7..277074f216 100644 --- a/actionpack/lib/action_dispatch/middleware/static.rb +++ b/actionpack/lib/action_dispatch/middleware/static.rb @@ -41,7 +41,6 @@ module ActionDispatch rescue SystemCallError false end - } return ::Rack::Utils.escape_path(match).b end |