diff options
author | pavel <pavel.rosicky@easy.cz> | 2019-10-18 23:46:10 +0200 |
---|---|---|
committer | pavel <pavel.rosicky@easy.cz> | 2019-10-18 23:46:10 +0200 |
commit | 1b1add8ac8be7eaf117392d63369f7be2709511c (patch) | |
tree | a8106ff191f071a682d375d1800a0687dfcf8e9f | |
parent | 4ffc2741ac4e54abe4f12b4c058376d6c7e770ed (diff) | |
download | rack-1b1add8ac8be7eaf117392d63369f7be2709511c.tar.gz |
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 24c40505..e32de082 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) |