Skip to content

Commit

Permalink
fixed a ruby 1.8.6 regression
Browse files Browse the repository at this point in the history
  • Loading branch information
timcharper committed Feb 20, 2009
1 parent 9e6bac5 commit 7ef0d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Support/tmvc/lib/application_controller.rb
Expand Up @@ -121,7 +121,7 @@ def render(__name__, __options__ = {}, &block)
__binding__ = binding
if __options__[:locals]
__v__ = __options__[:locals].values
__binding__.eval(__options__[:locals].keys * ", " + ", = *__v__")
__binding__.send(:eval, __options__[:locals].keys * ", " + ", = *__v__")
end

__erb__ = ERBStdout.new(___template___, nil, "-", "@output_buffer")
Expand Down

0 comments on commit 7ef0d94

Please sign in to comment.