feat(dashboard): add price history, caching, and i18n
This commit is contained in:
+3
-1
@@ -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
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user