Permalink
Browse files

Fix for type mismatch: Pathname given

  lib/rack/bug/filtered_backtrace.rb:16:in `index'
  • Loading branch information...
1 parent aff9bf6 commit 69135aec6123662fd4570d5301ba3289ef72905a @jberkel jberkel committed Nov 8, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rack/bug/filtered_backtrace.rb
@@ -31,7 +31,7 @@ def root_for_backtrace_filtering(sub_path = nil)
nil
end
sub_path ? ::File.join(root, sub_path) : root
- end
+ end.to_s
end
end
end

0 comments on commit 69135ae

Please sign in to comment.