3 years ago

How to pass directory name in URL

Posted 3 years ago by Vija

I have created business directory in /views. URL: http://localhost/laraveldemo/blog/public/business/dashboard Route:

Route::get('dashboard',['as' => 'dashboard', 'uses' => '[email protected]']);


public function dashboardView() { return view('business/pages.dashboard'); }


NotFoundHttpException in RouteCollection.php line 161:

How can I resolve it. Can you please help me.

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