middleware('permission:read-admin-panel')->only('index', 'show', 'edit', 'export'); } /** * Show the form for creating a new resource. * * @return Response */ public function index() { setting()->set('wizard.completed', 1); // Save all settings setting()->save(); $data = [ 'query' => [ 'limit' => 6 ] ]; $modules = $this->getFeaturedModules($data); return $this->response('wizard.finish.index', compact('modules')); } /** * Show the form for creating a new resource. * * @return Response */ public function update() { setting()->set('wizard.completed', 1); // Save all settings setting()->save(); return response()->json([]); } }