Merge branch 'develop'

This commit is contained in:
snipe 2017-11-03 13:04:18 -07:00
commit f84e6a34cc
3 changed files with 0 additions and 3 deletions

View file

@ -275,7 +275,6 @@ class AssetsController extends Controller
*/ */
public function selectlist(Request $request) public function selectlist(Request $request)
{ {
$this->authorize('view', Asset::class);
$assets = Company::scopeCompanyables(Asset::select([ $assets = Company::scopeCompanyables(Asset::select([
'assets.id', 'assets.id',

View file

@ -152,7 +152,6 @@ class LocationsController extends Controller
*/ */
public function selectlist(Request $request) public function selectlist(Request $request)
{ {
$this->authorize('view', Location::class);
$locations = Location::select([ $locations = Location::select([
'locations.id', 'locations.id',

View file

@ -127,7 +127,6 @@ class UsersController extends Controller
*/ */
public function selectlist(Request $request) public function selectlist(Request $request)
{ {
$this->authorize('view', User::class);
$users = User::select( $users = User::select(
[ [