diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-02-27 11:42:13 -0800 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-02-27 11:42:13 -0800 |
commit | d1157e7242d248b37546800bf7816c3035b56ce8 (patch) | |
tree | a60dd14e012ae0d7d758e4cbb3a16724c0ca9596 /actionpack/lib/action_view | |
parent | b1f078bddfecd40cce47b7db738620f2df2219c9 (diff) | |
download | rails-d1157e7242d248b37546800bf7816c3035b56ce8.tar.gz rails-d1157e7242d248b37546800bf7816c3035b56ce8.tar.bz2 rails-d1157e7242d248b37546800bf7816c3035b56ce8.zip |
AbstractController now supports layouts and rendering
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/template/template.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/template/template.rb b/actionpack/lib/action_view/template/template.rb index 4b4b80d48c..1ee073c3e9 100644 --- a/actionpack/lib/action_view/template/template.rb +++ b/actionpack/lib/action_view/template/template.rb @@ -62,7 +62,7 @@ module ActionView #:nodoc: template = find_template(extensioned_path) || find_template(path) break if template end - template + template || find_template(path) end private |