rails/actionview/lib
Henrik Nygren bef9484cf8 Do not put partial name to local_assigns when rendering without an object
When one rendered a partial template without specifying an object
or a collection (e.g. <%= render partial: 'partial_name' %>), Rails
would make an object called :partial_name available in local_assigns.
I don't think this was the intended behavior, since no local variable
called 'partial_name' gets defined in the view.
2015-05-14 10:46:44 +03:00
..
action_view Do not put partial name to local_assigns when rendering without an object 2015-05-14 10:46:44 +03:00
action_view.rb Update copyright notices to 2015 [ci skip] 2014-12-31 08:34:14 +01:00