aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/template
diff options
context:
space:
mode:
authorYehuda Katz <wycats@gmail.com>2009-02-27 11:42:13 -0800
committerYehuda Katz <wycats@gmail.com>2009-02-27 11:42:13 -0800
commitd1157e7242d248b37546800bf7816c3035b56ce8 (patch)
treea60dd14e012ae0d7d758e4cbb3a16724c0ca9596 /actionpack/lib/action_view/template
parentb1f078bddfecd40cce47b7db738620f2df2219c9 (diff)
downloadrails-d1157e7242d248b37546800bf7816c3035b56ce8.tar.gz
rails-d1157e7242d248b37546800bf7816c3035b56ce8.tar.bz2
rails-d1157e7242d248b37546800bf7816c3035b56ce8.zip
AbstractController now supports layouts and rendering
Diffstat (limited to 'actionpack/lib/action_view/template')
-rw-r--r--actionpack/lib/action_view/template/template.rb2
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