Remove test against undefined variable
This commit is contained in:
parent
8ef2ab6577
commit
36fe3ec56e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue