behnampmdg3
7 months ago
110
3
Laravel

Can I see the slug via Request?

Posted 7 months ago by behnampmdg3
http://127.0.0.1:8080/login/course-title
Route::get('/login/{slug}', '[email protected]');
public function login(Request $request)
    {
        dd($request);
        return view('login');
    }

Prints this

https://ibb.co/JKdr00V

Please sign in or create an account to participate in this conversation.