18 lines
265 B
PHP
18 lines
265 B
PHP
<?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()];
|
|
}
|
|
} |