laravel - Displaying routes that do not exists -
i getting strange problem can't solve. worked fine yesterday today not. building api , have following in route file
route::group(['prefix' => 'api'], function() { route::post('login', 'auth\authcontroller@login'); route::group(['middleware' => ['jwt.auth']], function() { route::post('logout', 'auth\authcontroller@logout'); }); });
there no other routes in route file - have double checked using vim via putty.
anyway, if visit route of url, shown default laravel 5 welcome page. strange thing is, have deleted welcome.blade.php server , still displays!
if try posting api route using postman, yesterday being returned token, today get
notfoundhttpexception in routecollection.php line 161
i have tried clearing caches without success.
has seen before? or maybe knows problem be?
thanks
Comments
Post a Comment