This commit is contained in:
2025-09-03 12:21:12 +05:45
parent 0307244399
commit fe641655e4
7 changed files with 108 additions and 68 deletions

View File

@@ -31,7 +31,6 @@ class ContactUsController extends Controller
$data['contactUsList'] = $this->contactUsRepository->allContactList($perPage, $filter);
$data['contactUsCount'] = $data['contactUsList']->count();
// dd(($data['contactUsCount']));
return view('contactus::index', $data);
}
@@ -120,7 +119,8 @@ class ContactUsController extends Controller
toastr()->success('Contact detail deleted successfully.');
return redirect()->route('cms.contactus.index');
return redirect()->route('cms.contactUs.index');
// return back();
} catch (\Throwable $th) {
report($th);
toastr()->error('Something went wrong.');