From 7cfa6c535bc54f16a3fc7fa39969d4410de3e483 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Thu, 11 Dec 2008 10:17:29 -0600 Subject: Fixed template lookups from outside the rails root [#1557 state:resolved] --- actionpack/lib/action_view/paths.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'actionpack/lib/action_view/paths.rb') diff --git a/actionpack/lib/action_view/paths.rb b/actionpack/lib/action_view/paths.rb index 9c8b8ade1e..623b9ff6b0 100644 --- a/actionpack/lib/action_view/paths.rb +++ b/actionpack/lib/action_view/paths.rb @@ -57,6 +57,10 @@ module ActionView #:nodoc: end end + def to_str + path.to_str + end + def ==(path) to_str == path.to_str end -- cgit v1.2.3