123456789101112131415161718192021 |
- <?php
- use Illuminate\Support\Facades\Route;
- Route::group(['domain' => env('APP_HOST'), 'prefix' => 'admin/contractDistribution'],function(){
- Route::get('index', 'ContractDistributionsController@index')->name('admin.contractDistribution.index');
- Route::post('index', 'ContractDistributionsController@index')->name('admin.contractDistribution.ajax.index');
- Route::get('store','ContractDistributionsController@store')->name('admin.contractDistribution.store');
- Route::post('store','ContractDistributionsController@store')->name('admin.contractDistribution.save');
- Route::post('destroy/{id?}','ContractDistributionsController@destroy')->name('admin.contractDistribution.destroy');
- Route::post('destroys','ContractDistributionsController@destroys')->name('admin.contractDistribution.destroys');
- Route::get('edit/{id?}','ContractDistributionsController@edit')->name('admin.contractDistribution.edit');
- Route::post('update/{id?}','ContractDistributionsController@update')->name('admin.contractDistribution.update');
- });
- Route::group(['domain' => env('APP_HOST_WEB'), 'prefix' => 'contractDistribution'],function (){
- Route::post('list', 'Front\\ContractDistributionsController@index');
- });
|