Exemple #1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     Tag::destroy($id);
     return redirect('tag');
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     Tag::destroy($id);
     return redirect('admin/tags')->with('status', 'Тег удален!');
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     Tag::destroy($id);
 }
Exemple #4
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     TagModel::destroy($id);
     \Session::flash('status', 'The tag has been removed successfully');
     return '1';
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     Tag::destroy($id);
     return redirect()->action('Goenitz\\TagController@index');
 }
 /**
  * Return redirect - deletes tag
  *
  * @return \Illuminate\View\View
  */
 public function delete($team, $feed_id, $tagId)
 {
     Tag::destroy($tagId);
     return redirect('/team/' . $team . '/feed/' . $feed_id);
 }
 public function getForceDestroy($id)
 {
     DB::transaction(function () use($id) {
         Tag::destroy($id);
         Site::where('tag_id', '=', $id)->delete();
     });
 }
Exemple #8
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     Tag::destroy($id);
     return 1;
 }