laravel - laravelcollective/html not finding any of my controllers -


i getting error login page

action app\http\controllers\admin\logincontroller@authenticate not defined. (view: /applications/xampp/xamppfiles/htdocs/lectureme/resources/views/admin/login.blade.php) 

i know controller exists though, why unable find it? have created new controller in controller root , named testcontroller, , tried routing instead, apparently not found.

any suggestions how access controller? form code:

{!! form::open(['action' => 'logincontroller@authenticate']) !!}     <div class="form-group">         <div class="form-group">             {!! form::label('username', 'username:') !!}             {!! form::text('username', null, ['class'=>'form-control']) !!}         </div>         <div class="form-group">             {!! form::label('email', 'email address:') !!}             {!! form::text('email', null, ['class'=>'form-control']) !!}         </div>     </div>     <div class="form-group">         {!! form::submit('login', ['class'=>'btn btn-primary']) !!}     </div> {!! form::close() !!} 

i have tried composer dump-autoload , php artisan cache:clear

make sure namespaced controller properly. assuming have placed controller in app\http\controllers\admin directory be:

namespace app\http\controllers\admin


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -