osb/app/Http/Controllers/UserServicesController.php

14 lines
234 B
PHP
Raw Normal View History

2018-06-05 11:13:57 +00:00
<?php
namespace App\Http\Controllers;
use Illuminate\Support\Facades\Auth;
use App\User;
2018-06-05 11:13:57 +00:00
class UserServicesController extends Controller
{
public function services(User $o)
2018-06-05 11:13:57 +00:00
{
return ['data'=>$o->services_active->values()];
2018-06-05 11:13:57 +00:00
}
}