I am trying to add a route for showing a form for resetting password.
I've added this the following definition into my route file.
<?php
Route::get( '/forgot-password', 'ResetPasswordController@showResetForm' )->name('password.forgot');
In my blade template I created a link to this route like that:
<a href='{{ route('password.forgot') }}'>{{__("auth.forgot.title")}}</a>
However when I click on the link I get the error:
Class App\Http\Controllers\ResetPasswordController does not exist
What am I doing wrong?
Laravel 5.8, php 7.2