This commit is contained in:
JonatanRek 2024-08-07 21:50:09 +02:00
parent 84d20bd23c
commit 790f595f0f
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
namespace App\Http\Controllers;
class HomeController extends BaseController
class DashboardController extends BaseController
{
public function index()
{

View File

@ -7,7 +7,7 @@
return view('welcome');
});
Route::get('/home', [App\Http\Controllers\HomeController::class, 'index'])->name('home');
Route::get('/dashboard', [App\Http\Controllers\DashboardController::class, 'index'])->name('dashboard');
Route::get('/maintenance/planned', [App\Http\Controllers\MaintenanceController::class, 'planned'])->name('maintenance.planned');
Route::get('/maintenance/planned/{maintenance_history}', [App\Http\Controllers\MaintenanceController::class, 'plannedDetail'])->name('maintenance.planned.detail');
Route::put('/maintenance/planned/{maintenance_history}', [App\Http\Controllers\MaintenanceController::class, 'plannedDetailPut'])->name('maintenance.planned.detail.put');