Remove test against undefined variable

This commit is contained in:
ccocchi 2012-07-24 18:29:03 +02:00
parent 8ef2ab6577
commit 36fe3ec56e

View File

@ -108,7 +108,7 @@ module RablRails
# #
def setup_render_context def setup_render_context
@_context.instance_variable_get(:@_assigns).each_pair { |k, v| @_context.instance_variable_get(:@_assigns).each_pair { |k, v|
instance_variable_set("@#{k}", v) unless k.start_with?('_') || k == @data instance_variable_set("@#{k}", v) unless k.start_with?('_')
} }
end end
end end