diff options
-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) |