Class 'Lunaweb\User\Http\Controllers\Controller' not found
antonzapevalov opened this issue · comments
Anton Zapevalov commented
Laravel 5.5
In your readme.md file you override default Controller to custom Lunaweb\User\Http\Controllers\Controller in file RegisterController.php. Why?
use Lunaweb\EmailVerification\Traits\VerifiesEmail;
use Lunaweb\User\Http\Controllers\Controller;
class RegisterController extends Controller
{
use RegistersUsers, VerifiesEmail;
public function __construct()
{
$this->middleware('guest', ['except' => ['verify', 'showResendVerificationEmailForm', 'resendVerificationEmail']]);
$this->middleware('auth', ['only' => ['showResendVerificationEmailForm', 'resendVerificationEmail']]);
}
// ...
}
And that Controller not found)))
Josias Montag commented
No need to override Controller. This was an error in the RADME.
Fixed - thanks!