diff options
author | Rafael França <rafael@franca.dev> | 2019-10-28 22:09:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-28 22:09:13 -0400 |
commit | 18365e63d054b65e5f1b0b69e4c95ad83fadc71d (patch) | |
tree | 22358109ba5a100cb345555817cd7b2e03e6d0a4 | |
parent | df0faa99198c87c3322d29dcc4f42af40247739b (diff) | |
parent | 1b1add8ac8be7eaf117392d63369f7be2709511c (diff) | |
download | rack-18365e63d054b65e5f1b0b69e4c95ad83fadc71d.tar.gz |
Merge pull request #1402 from ahorek/freeze
remove redundant freeze
-rw-r--r-- | lib/rack/static.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack/static.rb b/lib/rack/static.rb index 7332914a..512e4da9 100644 --- a/lib/rack/static.rb +++ b/lib/rack/static.rb @@ -104,7 +104,7 @@ module Rack end def add_index_root?(path) - @index && route_file(path) && path.end_with?('/'.freeze) + @index && route_file(path) && path.end_with?('/') end def overwrite_file_path(path) |