diff options
author | José Valim <jose.valim@gmail.com> | 2010-06-24 01:04:41 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-24 01:06:37 +0200 |
commit | 69abbe893413c99808c8cebd2f1d468c7921c573 (patch) | |
tree | d414a31d6e3b234f6d2af39084e3825f3d51eafa /actionpack/lib/action_view/template | |
parent | 6f83a5036d8a9c3f8ed74755ff6d42bc3f6e9982 (diff) | |
download | rails-69abbe893413c99808c8cebd2f1d468c7921c573.tar.gz rails-69abbe893413c99808c8cebd2f1d468c7921c573.tar.bz2 rails-69abbe893413c99808c8cebd2f1d468c7921c573.zip |
Avoid using Pathname on Resolver and AS::Dependencies.
Diffstat (limited to 'actionpack/lib/action_view/template')
-rw-r--r-- | actionpack/lib/action_view/template/resolver.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/template/resolver.rb b/actionpack/lib/action_view/template/resolver.rb index 2cf7e955ab..c9e20ca14e 100644 --- a/actionpack/lib/action_view/template/resolver.rb +++ b/actionpack/lib/action_view/template/resolver.rb @@ -99,7 +99,7 @@ module ActionView def initialize(path) raise ArgumentError, "path already is a Resolver class" if path.is_a?(Resolver) super() - @path = Pathname.new(path).expand_path + @path = File.expand_path(path) end def eql?(resolver) |