diff options
author | Aaron Patterson <tenderlove@github.com> | 2019-03-15 14:18:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-15 14:18:22 -0700 |
commit | 905018fc184d0f00cbc5c54911d473d705acb1eb (patch) | |
tree | df5991035fa4d6756723f90d4a26bf0cba4cd066 /actionview/lib/action_view/template.rb | |
parent | 1cdc6c6576afe9a9fa67a6b313080a7dc62188d9 (diff) | |
parent | 47fea39ed6b01b0f8c440f94e694519ec677ae4c (diff) | |
download | rails-905018fc184d0f00cbc5c54911d473d705acb1eb.tar.gz rails-905018fc184d0f00cbc5c54911d473d705acb1eb.tar.bz2 rails-905018fc184d0f00cbc5c54911d473d705acb1eb.zip |
Merge pull request #35627 from Futurelearn/seb-rename-view-run-method
Rename `ActionView::Base#run`
Diffstat (limited to 'actionview/lib/action_view/template.rb')
-rw-r--r-- | actionview/lib/action_view/template.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/template.rb b/actionview/lib/action_view/template.rb index 2c27e11b9e..a3e0be27bc 100644 --- a/actionview/lib/action_view/template.rb +++ b/actionview/lib/action_view/template.rb @@ -173,7 +173,7 @@ module ActionView def render(view, locals, buffer = ActionView::OutputBuffer.new, &block) instrument_render_template do compile!(view) - view.run(method_name, self, locals, buffer, &block) + view._run(method_name, self, locals, buffer, &block) end rescue => e handle_render_error(view, e) |