/**
  * POST Form for delete the specified resource.
  *
  * @return Response
  */
 public function doDelete()
 {
     $aData = Input::all();
     if (isset($aData['id'])) {
         $static_page = StaticPage::find($aData['id']);
         $static_page->delete();
         return Redirect::route('page-list')->with('message', 'Static page removed');
     }
     return Redirect::route('page-list')->with('message', 'Произошла ошибка удаления');
 }