summary refs log tree commit
diff options
context:
space:
mode:
authorpavel <pavel.rosicky@easy.cz>2019-10-18 23:46:10 +0200
committerpavel <pavel.rosicky@easy.cz>2019-10-18 23:46:10 +0200
commit1b1add8ac8be7eaf117392d63369f7be2709511c (patch)
treea8106ff191f071a682d375d1800a0687dfcf8e9f
parent4ffc2741ac4e54abe4f12b4c058376d6c7e770ed (diff)
downloadrack-1b1add8ac8be7eaf117392d63369f7be2709511c.tar.gz
remove redundant freeze
-rw-r--r--lib/rack/static.rb2
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)