diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-09-02 15:00:22 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-09-03 11:18:57 -0700 |
commit | f3fc5c4b5f36db37edc8ab553a35b06b48226c0a (patch) | |
tree | 9d35e907f3ed525f251a78f7579406f82eadf7a1 /actionpack/lib/action_controller | |
parent | dd34691b8d04a41e7d2b34df96bfe849057dd093 (diff) | |
download | rails-f3fc5c4b5f36db37edc8ab553a35b06b48226c0a.tar.gz rails-f3fc5c4b5f36db37edc8ab553a35b06b48226c0a.tar.bz2 rails-f3fc5c4b5f36db37edc8ab553a35b06b48226c0a.zip |
Refactor ActionView::Resolver
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/legacy/layout.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/legacy/layout.rb b/actionpack/lib/action_controller/legacy/layout.rb index 43aea0eba2..db02bf1066 100644 --- a/actionpack/lib/action_controller/legacy/layout.rb +++ b/actionpack/lib/action_controller/legacy/layout.rb @@ -200,7 +200,7 @@ module ActionController #:nodoc: end def layout_list #:nodoc: - Array(view_paths).sum([]) { |path| Dir["#{path.to_str}/layouts/**/*"] } + Array(view_paths).sum([]) { |path| Dir["#{path}/layouts/**/*"] } end memoize :layout_list |