env('APP_HOST'), 'prefix' => 'admin/memberGrade'],function(){ Route::get('index', 'MemberGradesController@index')->name('admin.memberGrade.index'); Route::post('index', 'MemberGradesController@index')->name('admin.memberGrade.ajax.index'); Route::get('store','MemberGradesController@store')->name('admin.memberGrade.store'); Route::post('store','MemberGradesController@store')->name('admin.memberGrade.save'); Route::post('destroy/{id?}','MemberGradesController@destroy')->name('admin.memberGrade.destroy'); Route::post('destroys','MemberGradesController@destroys')->name('admin.memberGrade.destroys'); Route::get('edit/{id?}','MemberGradesController@edit')->name('admin.memberGrade.edit'); Route::post('update/{id?}','MemberGradesController@update')->name('admin.memberGrade.update'); }); Route::group(['domain' => env('APP_HOST_WEB'), 'prefix' => 'memberGrade'],function (){ Route::post('list', 'Front\\MemberGradesController@index'); });