Laravel Prefix Route Problem

Posted 10 months ago by asad98iftikhar

this is mine Web.php

                    'prefix' => 'admin',
                        'middleware'=>['auth','admin']], function () {

            Route::get('dashboard','[email protected]')->name('dashboard');


This is mine Route its need to gave me this Output when i should run php artisan r:l

    admin.dashboard   |     App\Http\Controllers\Admin\[email protected]

But its gaving me this Result

     admindashboard   | App\Http\Controllers\Admin\[email protected]

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