From 1b1add8ac8be7eaf117392d63369f7be2709511c Mon Sep 17 00:00:00 2001 From: pavel Date: Fri, 18 Oct 2019 23:46:10 +0200 Subject: remove redundant freeze --- lib/rack/static.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-24-ge0c7