diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-04-19 16:16:32 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-04-19 16:21:18 +0100 |
commit | 534c6b2444970d59aea654aa3c6aeb41c206d14d (patch) | |
tree | 7b5c02b104e3d4cb90ff77c4dfdf88010451c28e /actionpack/lib/action_view/base.rb | |
parent | 69a5c1df8293fc8de2cec0fc9fa18181cb9ad469 (diff) | |
download | rails-534c6b2444970d59aea654aa3c6aeb41c206d14d.tar.gz rails-534c6b2444970d59aea654aa3c6aeb41c206d14d.tar.bz2 rails-534c6b2444970d59aea654aa3c6aeb41c206d14d.zip |
Introduce ActionView::InlineTemplate class
Diffstat (limited to 'actionpack/lib/action_view/base.rb')
-rw-r--r-- | actionpack/lib/action_view/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/base.rb b/actionpack/lib/action_view/base.rb index e83c8b6bd3..f001b81eca 100644 --- a/actionpack/lib/action_view/base.rb +++ b/actionpack/lib/action_view/base.rb @@ -279,7 +279,7 @@ If you are rendering a subtemplate, you must now use controller-like partial syn elsif options[:partial] render_partial(options[:partial], ActionView::Base::ObjectWrapper.new(options[:object]), options[:locals]) elsif options[:inline] - template = Template.new(self, options[:inline], false, options[:locals], true, options[:type]) + template = InlineTemplate.new(self, options[:inline], options[:locals], options[:type]) render_template(template) end end |