/** * Show the form for creating a new resource. * * @return Response */ public function create($id = null) { $parentCategory = Pages::lists('name', 'id')->prepend('-- brak --', 0); return view('admin.pages.create')->with(['parentID' => $id, 'urlPath' => 'pages', 'title' => 'Nowa strona', 'parentCategory' => $parentCategory]); }