Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use concat to avoid allocating additional array

  • Loading branch information...
commit 0b4507a26f7c4807ea14ce70c41033c9868f83e3 1 parent 98ec4eb
@strzalek strzalek authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionview/lib/action_view/rendering.rb
View
2  actionview/lib/action_view/rendering.rb
@@ -107,7 +107,7 @@ def _render_template(options) #:nodoc:
end
def default_protected_instance_vars
- super + [:@_view_context_class, :@_view_renderer, :@_lookup_context]
+ super.concat([:@_view_context_class, :@_view_renderer, :@_lookup_context])
end
private
Please sign in to comment.
Something went wrong with that request. Please try again.