mirror of
https://github.com/github/rails.git
synced 2026-01-27 23:38:11 -05:00
Fix bad merge
This commit is contained in:
@@ -12,8 +12,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
|
||||
|
||||
Reference in New Issue
Block a user