/** * Show the form for editing the specified resource. * GET /admin\article/{id}/edit * * @param int $id * @return Response */ public function edit($id) { View::share('title', 'Hír módosítása'); $this->layout->content = View::make('admin.article.edit')->with('article', Article::find($id))->with('galleries', Gallery::getGalleries()); }
/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { $page = Page::find($id); View::share('title', 'Oldal: ' . $page->title); $this->layout->content = View::make('admin.page.edit')->with('page', $page)->with('galleries', Gallery::getGalleries())->with('pages', Page::getPages($id)); }
/** * Show the form for editing the specified resource. * GET /admin\event/{id}/edit * * @param int $id * @return Response */ public function edit($id) { View::share('title', 'Oldalak'); $this->layout->content = View::make('admin.event.edit')->with('event', Event::find($id))->with('galleries', Gallery::getGalleries()); }