laravel/laravel — Issue #372: conflicting view variable names
Author: kyledecot
Created: 2012-03-01 14:38:23+00:00
State: open

It is currently impossible to assign variables called `data` or `errors` to a view

$view->data = some_kind_of_data();
$view->errors = some_kind_of_errors();

It would be nice if all of Laravel's view variables were prefixed or something so they would be like `_data` or `_errors`. This way conflicts would be less likely when assigning things to a view.