Reputation: 439
I need to Send Active Link From My Route
Route::get('user/{user}/settings', 'UserController@settings');
I tried this but it goes to main page
<a href="{{ route('verification.resend') }}">{{ __('click here to request another') }}</a>
Upvotes: 4
Views: 1113
Reputation: 1701
Laravel includes the Auth\VerificationController
class that contains the necessary logic to send verification links and verify emails. To register the necessary routes for this controller, pass the verify option to the Auth::routes
method:
Auth::routes(['verify' => true]);
(From https://laravel.com/docs/5.7/verification)
Upvotes: 1