grantPond.php 1015 B

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