grantDistribution.php 1.1 KB

123456789101112131415161718192021
  1. <?php
  2. use Illuminate\Support\Facades\Route;
  3. Route::group(['domain' => env('APP_HOST'), 'prefix' => 'admin/grantDistribution'],function(){
  4. Route::get('index', 'GrantDistributionsController@index')->name('admin.grantDistribution.index');
  5. Route::post('index', 'GrantDistributionsController@index')->name('admin.grantDistribution.ajax.index');
  6. Route::get('store','GrantDistributionsController@store')->name('admin.grantDistribution.store');
  7. Route::post('store','GrantDistributionsController@store')->name('admin.grantDistribution.save');
  8. Route::post('destroy/{id?}','GrantDistributionsController@destroy')->name('admin.grantDistribution.destroy');
  9. Route::post('destroys','GrantDistributionsController@destroys')->name('admin.grantDistribution.destroys');
  10. Route::get('edit/{id?}','GrantDistributionsController@edit')->name('admin.grantDistribution.edit');
  11. Route::post('update/{id?}','GrantDistributionsController@update')->name('admin.grantDistribution.update');
  12. });
  13. Route::group(['domain' => env('APP_HOST_WEB'), 'prefix' => 'grantDistribution'],function (){
  14. Route::post('list', 'Front\\GrantDistributionsController@index');
  15. });