achmadzainulkarim

Untitled

Feb 21st, 2020
150
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Invites
  2.         Route::group(['prefix'=> 'invites', 'as'=> 'invite.', 'namespace'=> 'Invite','middleware'=> ['permission:api:user_permission_view', 'permission:api:user_permission_edit']], function(){
  3.           Route::get('/', ['as'=> 'root', 'uses'=> 'InviteController@listUserVersion1']);
  4.           Route::post('create', ['as'=> 'create', 'uses'=> 'InviteController@createUser']);
  5.           Route::post('multiple-create', ['as'=> 'multiple-create', 'uses'=> 'InviteController@createMultipleUser']);
  6.           Route::put('multiple-update', ['as'=> 'save', 'uses'=> 'InviteController@updateMultipleUser']);
  7.           Route::post('reinvite', ['as'=> 'reinvite', 'uses'=> 'InviteController@reinviteUser']);
  8.           Route::post('multiple-reinvite', ['as'=> 'multiple-reinvite', 'uses'=> 'InviteController@reinviteMultipleUser']);
  9.           Route::group(['prefix'=> '{company_user_id}'], function(){
  10.             Route::get('view', ['as'=> 'detail', 'uses'=> 'InviteController@viewUser']);
  11.             Route::put('activation', ['as'=> 'activation', 'uses'=> 'InviteController@activationUser']);
  12.             Route::put('update', ['as'=> 'save', 'uses'=> 'InviteController@updateUser']);
  13.           });
  14.         });
RAW Paste Data