Something looks fishy, like a Controller for table column names, but try this: return view('table.co...
Your gate (permission) definition is the first step, then the permission check in either a Middlewar...
You need to insert the key in the method, or it only returns an array. env('KEY'); // **local** In...
A simple way to handle this is with roles and/or permissions. There are some packages available to s...
User::where('userType','local')->whereHas('roles',function($query){ $query->where('name','supe...
The Laravel portal for problem solving, knowledge sharing and community building.
The community