예제 #1
0
 /**
  * Remove the specified page from storage.
  *
  * @param int $id
  *
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     Page::destroy($id);
     return redirect()->route('admin.page.index');
 }
예제 #2
0
 private function _deletePage($id)
 {
     Page::destroy($id);
 }