namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Schema;
use App\Classes\DynamicMenu;
use App\Http\Controllers\WelcomeController;
use Auth;
class AppServiceProvider extends ServiceProvider
{
public function boot()
{
dd(Auth::user());
}
}
Hi guys, this returns 'null' for me. but other controllers returns user details. how to fix this..?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2EcM1Pt
via IFTTT
Aucun commentaire:
Enregistrer un commentaire