Support the ongoing development of Laravel.io →
Authentication
Last updated 3 months ago.
0

You can add one if you want one.

0
$router->controllers([
	'auth' => 'Auth\AuthController',
]);

so instead of using this, i'll specify them myself?

0
Route::get('auth/login', array('as' => 'auth.named_route', 'uses' => 'Auth\[email protected]'));

This will have name the route.

0

beaverusiv said:

Route::get('auth/login', array('as' => 'auth.named_route', 'uses' => 'Auth\[email protected]'));

This will have name the route.

yes, i know this one. is this really the only way?

0

I don't know of any other ways to register a named route. You could always type:

url('Auth\[email protected]')
0

Sign in to participate in this thread!

LaraJobs

Your banner here too?

alainbelez alainbelez alainbelez Joined 11 Feb 2014

Moderators

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.