Skip to content
Snippets Groups Projects
Commit 45e627f5 authored by Shizuco's avatar Shizuco
Browse files

feat: for now main page is products page in nova

parent f2da5b71
No related branches found
No related tags found
1 merge request!2Dctn 494/fix
<?php
namespace App\Nova\Dashboards;
use Laravel\Nova\Cards\Help;
use Laravel\Nova\Dashboards\Main as Dashboard;
class Main extends Dashboard
{
/**
* Get the cards for the dashboard.
*
* @return array
*/
public function cards()
{
return [
new Help,
];
}
}
......@@ -55,7 +55,7 @@ protected function gate()
protected function dashboards()
{
return [
new \App\Nova\Dashboards\Main,
];
}
......
......@@ -14,5 +14,5 @@
*/
Route::get('/', function () {
return view('welcome');
return redirect('/nova/resources/products');
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment