diff options
author | Yehuda Katz <wycats@gmail.com> | 2009-07-19 22:12:15 +0900 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2009-07-19 22:31:44 +0900 |
commit | 0f2914be405410e824b40dcff28e5dfa541bdb2a (patch) | |
tree | 5d29a561a0ab34a0b56d2bb8e90668d03c9934d7 /actionpack/lib/action_view/template/template.rb | |
parent | bb530923bcd5c643f9bfca8e36cd3fa36365032d (diff) | |
download | rails-0f2914be405410e824b40dcff28e5dfa541bdb2a.tar.gz rails-0f2914be405410e824b40dcff28e5dfa541bdb2a.tar.bz2 rails-0f2914be405410e824b40dcff28e5dfa541bdb2a.zip |
Separate ActionView::Context so something else can easily be made into an AV context
Diffstat (limited to 'actionpack/lib/action_view/template/template.rb')
-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 fac50cd692..4145045e2d 100644 --- a/actionpack/lib/action_view/template/template.rb +++ b/actionpack/lib/action_view/template/template.rb @@ -75,7 +75,7 @@ module ActionView end begin - ActionView::Base::CompiledTemplates.module_eval(source, identifier, line) + ActionView::CompiledTemplates.module_eval(source, identifier, line) method_name rescue Exception => e # errors from template code if logger = (view && view.logger) |