/** * List API grants. * * @return \Illuminate\View\View */ public function index() { $content = $this->viewFactory->make('grants.index')->with('grants', $this->grants->get()); return $this->layout->with('content', $content); }