osb/app/Http/Controllers/UserServicesController.php

18 lines
265 B
PHP
Raw Normal View History

2018-06-05 11:13:57 +00:00
<?php
namespace App\Http\Controllers;
use Auth;
class UserServicesController extends Controller
{
public function __construct()
{
//$this->middleware('auth');
}
public function services()
{
return ['data'=>Auth::user()->services_active->values()];
}
}