Support the ongoing development of Laravel.io →
Requests Architecture
Last updated 2 years ago.
0

Perhaps the 'as' is what you are looking for.

Route::get('/', array('uses' => 'appList\login\LoginController@showLogin', 'as' => 'login'));
Last updated 2 years ago.
0

Do you know how to get that to work with Route::resource? I'm not sure converting all my Route::resource to Route::get will have a positive net gain. I could not find any namespace examples where people explicitly use namespaces in Route::resource

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

IOM instanceofmichael Joined 11 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.