diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-07-11 15:39:22 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-07-11 15:40:41 -0500 |
commit | 6ebdd0e32b846e99a9885b06fbca2bed58149c7e (patch) | |
tree | ddf305b2c11a698f60eaf0e3032b4b66aeab1301 /actionpack/lib/action_view/template_handlers | |
parent | 292501c7e01993faadfd953fd1b3154c470b65e2 (diff) | |
download | rails-6ebdd0e32b846e99a9885b06fbca2bed58149c7e.tar.gz rails-6ebdd0e32b846e99a9885b06fbca2bed58149c7e.tar.bz2 rails-6ebdd0e32b846e99a9885b06fbca2bed58149c7e.zip |
Changed ActionView::TemplateHandler#render API method signature to render(template, local_assigns = {})
Diffstat (limited to 'actionpack/lib/action_view/template_handlers')
-rw-r--r-- | actionpack/lib/action_view/template_handlers/compilable.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/template_handlers/compilable.rb b/actionpack/lib/action_view/template_handlers/compilable.rb index 9b9255579c..95ae75ca68 100644 --- a/actionpack/lib/action_view/template_handlers/compilable.rb +++ b/actionpack/lib/action_view/template_handlers/compilable.rb @@ -14,8 +14,8 @@ module ActionView end end - def render(template) - @view.send(:execute, template) + def render(template, local_assigns = {}) + @view.send(:execute, template, local_assigns) end # Compile and evaluate the template's code |