app/Http/Controllers/PermissionController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $permissions = Permission::get();
        return view('permission.index', compact('permissions'));
    }
public function index ( ) { $ permissions = Permission :: get ( ) ; return view ( 'permission.index' , compact ( 'permissions' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .