Is there a way to return the response of a controller method in a view composer function? This is currently returning a string, the namespace.
view()->composer('tasks.partial.tasksummary', function($view)
{
$view->with('taskload', 'App\Http\Controllers\TaskController@taskLoad');
});
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1pvQghv
via IFTTT
Aucun commentaire:
Enregistrer un commentaire