Skip to content

Commit

Permalink
Fix bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Jul 14, 2008
1 parent cdf0f1a commit 4e323f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionpack/lib/action_view/template_handlers/compilable.rb
Expand Up @@ -12,8 +12,8 @@ def compilable?
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
Expand Down

0 comments on commit 4e323f6

Please sign in to comment.