mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-05 19:07:30 -08:00
Merge branch 'develop'
This commit is contained in:
commit
f84e6a34cc
|
@ -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',
|
||||||
|
|
|
@ -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',
|
||||||
|
|
|
@ -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(
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in a new issue