Fix redirect call after delete/undelete
This commit is contained in:
parent
3b207dbf7f
commit
ae1c8cbc28
@ -17,7 +17,7 @@ class PhotoController extends Controller
|
|||||||
$o->save();
|
$o->save();
|
||||||
|
|
||||||
return redirect()
|
return redirect()
|
||||||
->action('PhotoController@info',[$o->id]);
|
->back();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function deletes(Request $request,$id=NULL)
|
public function deletes(Request $request,$id=NULL)
|
||||||
@ -60,7 +60,7 @@ class PhotoController extends Controller
|
|||||||
$o->save();
|
$o->save();
|
||||||
|
|
||||||
return redirect()
|
return redirect()
|
||||||
->action('PhotoController@info',[$o->id]);
|
->back();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -18,7 +18,7 @@ class VideoController extends Controller
|
|||||||
$o->save();
|
$o->save();
|
||||||
|
|
||||||
return redirect()
|
return redirect()
|
||||||
->action('VideoController@info',[$o->id]);
|
->back();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function deletes(Request $request,$id=NULL)
|
public function deletes(Request $request,$id=NULL)
|
||||||
@ -55,7 +55,7 @@ class VideoController extends Controller
|
|||||||
$o->save();
|
$o->save();
|
||||||
|
|
||||||
return redirect()
|
return redirect()
|
||||||
->action('VideoController@info',[$o->id]);
|
->back();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function view(Video $o)
|
public function view(Video $o)
|
||||||
|
Loading…
Reference in New Issue
Block a user