/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy() { $ait_id = Input::get('ait_id'); $aitima = Aitima::find($ait_id); $aitima->delete(); return Redirect::to('/aitimata'); }
public function aitimata() { $aitimata = Aitima::All(); $pelates = Pelatis::All(); return View::make('pages.aitimata')->with('aitimata', $aitimata)->with('pelates', $pelates); }