feat(dashboard): add price history, caching, and i18n

This commit is contained in:
2026-08-01 21:21:43 +02:00
parent 1cd905ca4a
commit 7fb49131c4
22 changed files with 177 additions and 30 deletions
+3 -1
View File
@@ -3,4 +3,6 @@
use App\Features\Dashboard\Controllers\DashboardController;
use Illuminate\Support\Facades\Route;
Route::get('/energy-prices', [DashboardController::class, 'index'])->name('dashboard.index');
Route::name('api.')->group(function () {
Route::get('/energy-prices', [DashboardController::class, 'index'])->name('dashboard.index');
});
+2 -1
View File
@@ -2,4 +2,5 @@
use Illuminate\Support\Facades\Route;
Route::inertia('/', 'dashboard::index');
Route::inertia('/', 'dashboard::index')->name('dashboard.index');
Route::inertia('/history', 'history::index')->name('history.index');