@@ -23,7 +23,7 @@ class ProfileController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function index(Request $request)
|
public function index(Request $request)
|
||||||
{
|
{
|
||||||
Gate::authorize('fasilitator');
|
Gate::authorize('fasilitator', 'offtaker');
|
||||||
|
|
||||||
$user = Auth::user();
|
$user = Auth::user();
|
||||||
$profile = $user->profile;
|
$profile = $user->profile;
|
||||||
|
|||||||
Reference in New Issue
Block a user