Blocked by the fact that OVH can't deploy .Net websites we have turned to use Laraval (in order to use MVC).
so I have created a controller and I need to call it's methods from my layout, I tried this :
<a class="nav-link" href=""><span style="text-decoration: underline;"><B>Acceuil</B></span></a>
where HomeContoller is my controller and WhoWeAre is a method .
when I run my app , the website crash and I get this message :
ErrorException in UrlGenerator.php line 589: Action App\Http\Controllers\HomeController@index not defined. (View: C:\xampp\htdocs\laravel\resources\views\welcome.blade.php)
How can that be corrected please ?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire