Skip to content
Permalink
Browse files

[helper/render.rb] dup on variables arg is not needed. never refered.

  • Loading branch information...
godfat committed Nov 16, 2009
1 parent d69a954 commit 92733e0a5aaed42bb8717ceaab37966e786d6488
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/innate/helper/render.rb
@@ -121,7 +121,7 @@ def render_file(filename, variables = {})
action.node = self.class
action.engine = self.action.engine
action.instance = action.node.new
action.variables.merge!(variables.dup)
action.variables.merge!(variables)

yield(action) if block_given?

0 comments on commit 92733e0

Please sign in to comment.
You can’t perform that action at this time.