src/Http/Controllers/Admin/AdminController.php
public function getUserRolePermissions()
  {
    $roles = Role::select('id', 'name', 'label')->get();
    $permissions = Permission::select('id', 'name', 'label')->get();
    return \View::make('admin.permissions.role-assign-permissions', [
      'roles'              =>  $roles,
      'permissions'        =>  $permissions,
      'title'              => 'assign',
    ]);
  }
public function getUserRolePermissions()
  {
    $roles = Role::select('id', 'name', 'label')->get();
    $permissions = Permission::select('id', 'name', 'label')->get();
    return \View::make('admin.permissions.role-assign-permissions', [
      'roles'              =>  $roles,
      'permissions'        =>  $permissions,
      'title'              => 'assign',
    ]);
  }
public function getUserRolePermissions ( ) { $ roles = Role :: select ( 'id' , 'name' , 'label' ) -> get ( ) ; $ permissions = Permission :: select ( 'id' , 'name' , 'label' ) -> get ( ) ; return \ View :: make ( 'admin.permissions.role-assign-permissions' , [ 'roles' => $ roles , 'permissions' => $ permissions , 'title' => 'assign' , ] ) ; }
Display given permissions to role.

@return void
Display given permissions to role .