git add .

git commit "create admin panel layout structure"
This commit is contained in:
2026-08-18 09:04:00 +03:30
parent 3055e42641
commit 14684d5537
49 changed files with 276 additions and 53 deletions
+2 -9
View File
@@ -4,7 +4,7 @@ namespace App\Http\Controllers;
use App\Http\Requests\CommentStoreRequest;
use App\Models\Comment;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class CommentController extends Controller
{
@@ -29,14 +29,7 @@ class CommentController extends Controller
$data['user_id'] = auth()->id();
$data['status'] = 0;
Comment::create([
'flight_id' => $request->flight_id,
'tour_id' => $request->tour_id,
'comment' => $request->comment,
'rating' => $request->rating,
'user_id' => auth()->id(),
'status' => 0,
]);
Comment::create($data);
return back()->with(
'success',