Current File : //proc/thread-self/root/proc/self/root/home/tradevaly/text.tradevaly.com.bd/routes/admin.php |
<?php
use Illuminate\Support\Facades\Route;
Route::group(['prefix' => 'b2b/' ,'as'=>'admin.','namespace' => 'Admin'] , function () {
// Subscribe Route
Route::group(['prefix' => 'subscriber','as'=>'subscriber.'], function () {
Route::get('index','SubscriberController@index')->name('index');
Route::get('delete/{id}','SubscriberController@delete')->name('delete');
Route::get('paid','SubscriberController@paid')->name('paid');
Route::get('pending','SubscriberController@pending')->name('pending');
Route::get('invoice-details/{id}','SubscriberController@invoiceDetails')->name('invoice_details');
Route::get('money-receipt/{id}','SubscriberController@moneyReceipt')->name('money_receipt');
});
Route::group(['prefix' => 'setting', 'as' => 'setting.'], function(){
Route::group(['prefix'=> 'video_banner','as' => 'video_banner.'],function(){
Route::get('/', 'VideoBannerController@index')->name('index');
Route::put('/update' , 'VideoBannerController@update')->name('update');
});
Route::group(['prefix'=> 'cwp','as' => 'cwp.'],function(){
Route::get('/' , 'CwpController@index')->name('index');
Route::post('/store', 'CwpController@store')->name('store');
Route::put('/update' , 'CwpController@update')->name('update');
Route::get('/destroy/{id}', 'CwpController@destroy')->name('destroy');
});
});
});