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