mercredi 29 juin 2016

How to call controller method from view laravel?

$varbl = App::make("ControllerName")->FunctionName($params); to call a controller function from a my balde template(view page). Now i'm using Laravel 5.1 to do a new project and i tried this method to call a controller function from my blade template .But its not working and showing some errors. Is there any method to call a controller function from a view page in Laravel 5.1?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire