env('APP_HOST'), 'prefix' => 'admin/member'],function(){ Route::get('index', 'MembersController@index')->name('admin.member.index'); Route::get('all', 'MembersController@selectAll')->name('admin.member.all'); Route::post('index', 'MembersController@index')->name('admin.member.ajax.index'); Route::post('member-ids', 'MembersController@getUserIds')->name('admin.member.member-ids'); Route::get('store','MembersController@store')->name('admin.member.store'); Route::post('store','MembersController@store')->name('admin.member.save'); Route::post('destroy/{id?}','MembersController@destroy')->name('admin.member.destroy'); Route::post('destroys','MembersController@destroys')->name('admin.member.destroys'); Route::get('edit/{id?}','MembersController@edit')->name('admin.member.edit'); Route::post('update/{id?}','MembersController@update')->name('admin.member.update'); });