aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/template.rb
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@github.com>2019-03-15 14:18:22 -0700
committerGitHub <noreply@github.com>2019-03-15 14:18:22 -0700
commit905018fc184d0f00cbc5c54911d473d705acb1eb (patch)
treedf5991035fa4d6756723f90d4a26bf0cba4cd066 /actionview/lib/action_view/template.rb
parent1cdc6c6576afe9a9fa67a6b313080a7dc62188d9 (diff)
parent47fea39ed6b01b0f8c440f94e694519ec677ae4c (diff)
downloadrails-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.rb2
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)