I am trying to get the id of the current user on my controller this way
$post->user_id=Auth::user()->id;
I'm importing these classes
use Illuminate\Http\Request;
use conocermusica\Post;
use Illuminate\Support\Fecades\Redirect;
use conocermusica\Http\Requests\PostFormRequest;
use DB;
when I add:
use Auth;
I get the error
(1/1) FatalThrowableError Class 'Illuminate\Support\Fecades\Redirect' not found
How can I resolve this?