Skip to content

Commit ebf5bf2

Browse files
committed
Bug: dashboard route name was being already used by Laravel
1 parent 1ab5e12 commit ebf5bf2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Controllers/InstallController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function index()
108108
}
109109
} else {
110110
// Panic Help Desk installed and up to date. Go to stats page
111-
return redirect()->route('dashboard');
111+
return redirect()->route('panichd.dashboard');
112112
}
113113
}
114114
}

src/routes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
'uses' => 'PanicHD\PanicHD\Controllers\DashboardController@index',
157157
]);
158158
Route::get("$admin_route_path/dashboard", 'PanicHD\PanicHD\Controllers\DashboardController@index')
159-
->name('dashboard');
159+
->name("$admin_route.dashboard");
160160

161161
//Ticket statuses admin routes (ex. http://url/panichd/status)
162162
Route::resource("$admin_route_path/status", 'PanicHD\PanicHD\Controllers\StatusesController', [

0 commit comments

Comments
 (0)