コード例 #1
0
ファイル: newsController.php プロジェクト: semmiverian/webJok
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     $showDefault = cmsHelpWithId($id, 'App\\News', 'news');
     return view('admin.updateNews')->with($showDefault);
 }
コード例 #2
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     $showDefault = cmsHelpWithId($id, 'App\\Slider', 'sliders');
     return view('admin.updateSlideShow')->with($showDefault);
 }
コード例 #3
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     $showDefault = cmsHelpWithId($id, 'App\\Produk', 'produks');
     return view('admin.updateProduk')->with($showDefault);
 }
コード例 #4
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     $showDefault = cmsHelpWithId($id, 'App\\Gallery', 'galleries');
     return view('admin.updateGallery')->with($showDefault);
 }
コード例 #5
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     $showDefault = cmsHelpWithId($id, 'App\\Banner', 'banners');
     return view('admin.updateBanner')->with($showDefault);
 }