Response::view
was added after the initial Laravel 4 beta (this commit), Response::view
is just a "shortcut" to Response::make(View::make())
. Looks to be a case of either preference or a feature some didn't realise existed -- perhaps because they wrote their code during the L4 beta.
https://github.com/laravel/framework/blob/master/src/Illuminate/Support/Facades/Response.php
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community