diff options
author | wycats <wycats@gmail.com> | 2010-06-02 22:56:41 +0200 |
---|---|---|
committer | Mikel Lindsaar <raasdnil@gmail.com> | 2010-06-03 23:32:12 +1000 |
commit | e57dbfe6af368cca9f4c827eb70937086cbf7ed7 (patch) | |
tree | 8b9d057a91861756260aea7990308975305ab475 /actionpack/lib/action_view/paths.rb | |
parent | a9753637f4fcb68f65da96c85dfcb74ca1c13184 (diff) | |
download | rails-e57dbfe6af368cca9f4c827eb70937086cbf7ed7.tar.gz rails-e57dbfe6af368cca9f4c827eb70937086cbf7ed7.tar.bz2 rails-e57dbfe6af368cca9f4c827eb70937086cbf7ed7.zip |
Changes made while working on upgrading cells to Rails 3
Diffstat (limited to 'actionpack/lib/action_view/paths.rb')
-rw-r--r-- | actionpack/lib/action_view/paths.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/paths.rb b/actionpack/lib/action_view/paths.rb index 35927d09d1..7f5e5d11b8 100644 --- a/actionpack/lib/action_view/paths.rb +++ b/actionpack/lib/action_view/paths.rb @@ -31,6 +31,7 @@ module ActionView #:nodoc: def typecast! each_with_index do |path, i| + path = path.to_s if path.is_a?(Pathname) next unless path.is_a?(String) self[i] = FileSystemResolver.new(path) end |