Server IP : 66.29.132.124 / Your IP : 18.191.233.198 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/./book24.ng/modules/Boat/Routes/ |
Upload File : |
<?php use \Illuminate\Support\Facades\Route; Route::group(['prefix'=>config('boat.boat_route_prefix')],function(){ Route::get('/','BoatController@index')->name('boat.search'); // Search Route::get('/{slug}','BoatController@detail')->name('boat.detail');// Detail }); Route::group(['prefix'=>'user/'.config('boat.boat_route_prefix'),'middleware' => ['auth','verified']],function(){ Route::get('/','ManageBoatController@manageBoat')->name('boat.vendor.index'); Route::get('/create','ManageBoatController@createBoat')->name('boat.vendor.create'); Route::get('/edit/{id}','ManageBoatController@editBoat')->name('boat.vendor.edit'); Route::get('/del/{id}','ManageBoatController@deleteBoat')->name('boat.vendor.delete'); Route::post('/store/{id}','ManageBoatController@store')->name('boat.vendor.store'); Route::get('bulkEdit/{id}','ManageBoatController@bulkEditBoat')->name("boat.vendor.bulk_edit"); Route::get('/booking-report/bulkEdit/{id}','ManageBoatController@bookingReportBulkEdit')->name("boat.vendor.booking_report.bulk_edit"); Route::get('/recovery','ManageBoatController@recovery')->name('boat.vendor.recovery'); Route::get('/restore/{id}','ManageBoatController@restore')->name('boat.vendor.restore'); }); Route::group(['prefix'=>'user/'.config('boat.boat_route_prefix')],function(){ Route::group(['prefix'=>'availability'],function(){ Route::get('/','AvailabilityController@index')->name('boat.vendor.availability.index'); Route::get('/loadDates','AvailabilityController@loadDates')->name('boat.vendor.availability.loadDates'); Route::post('/store','AvailabilityController@store')->name('boat.vendor.availability.store'); Route::get('/availabilityBooking','AvailabilityController@availabilityBooking')->name('boat.vendor.availability.availabilityBooking'); }); });