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