示例#1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     News::destroy($id);
     $showDefault = cmsHelp('App\\News', 'news');
     return Redirect('newsAdmin')->with($showDefault);
 }
示例#2
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     Slider::destroy($id);
     $showDefault = cmsHelp('App\\Slider', 'sliders');
     return Redirect('slider')->with($showDefault);
 }
示例#3
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     Gallery::destroy($id);
     $showDefault = cmsHelp('App\\Gallery', 'galleries');
     return Redirect('galleryAdmin')->with($showDefault);
 }
示例#4
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     Produk::destroy($id);
     $showDefault = cmsHelp('App\\Produk', 'produks');
     return Redirect('product')->with($showDefault);
 }
示例#5
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     Banner::destroy($id);
     $showDefault = cmsHelp('App\\Banner', 'banners');
     return Redirect('banner')->with($showDefault);
 }
示例#6
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     User::destroy($id);
     $showDefault = cmsHelp('App\\User', 'users');
     return Redirect('usercontrol')->with($showDefault);
 }