jeudi 27 octobre 2016

Need to place a Controller outside the app\Http\Controllers folder and add routes to it

I dont believe it, it seems this is not possible in Laravel.

I need to do something like this in routes/web.php:

Route::get('logout', 'App\MyModule\LogoutController@logout');

It seems I can't do that in Laravel!

NOTE: I DO NOT WANT TO CHANGE THE GLOBAL PROJECT CONFIGURATION LIKE THIS ANSWER IS PROPOSING



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2eLvQ32
via IFTTT

Aucun commentaire:

Enregistrer un commentaire