git add .

git commit "Implement authentication flow and initialize home page hero section"
This commit is contained in:
2026-08-16 14:51:49 +03:30
parent d43e74b280
commit 6302570d75
19 changed files with 1276 additions and 303 deletions
+10 -2
View File
@@ -1,5 +1,7 @@
<?php
use App\Http\Controllers\CityController;
use App\Http\Controllers\CommentController;
use App\Http\Controllers\DashboardController;
use App\Http\Controllers\FavoriteController;
use App\Http\Controllers\HomeController;
@@ -16,9 +18,15 @@ Route::prefix('users')->name('users.')->middleware('auth:web')->group(function (
Route::get('/profile/edit',[ProfileController::class,'edite'])->name('profile.edit');
Route::put('/profile/update',[ProfileController::class,'update'])->name('profile.update');
Route::get('/favorite',[FavoriteController::class,'create'])->name('favorite.create');
Route::post('favorite',[FavoriteController::class,'store'])->name('favorite.store');
Route::get('/favorite',[FavoriteController::class,'index'])->name('favorite.index');
Route::post('favorite',[FavoriteController::class,'store'])->name('favorite.store');
Route::delete('/favorite/{favorite}',[FavoriteController::class,'destroy'])->name('favorite.destroy');
Route::get('/comments',[CommentController::class,'index'])->name('comments.index');
Route::get('/cities/{province}', [CityController::class, 'getCities'])
->name('cities.by.province');
});