git add .
git commit "Implement authentication flow and initialize home page hero section"
This commit is contained in:
+10
-2
@@ -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');
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user