Sometimes I embed a customizable partial view inside of another view. In these cases, it can be a pain to pass all the view parameters individually.
Is it a bad idea to just pass all the available variables to the partial view? E.g.:
$this->renderPartial('_subView', get_defined_vars());