Minor fixes
This commit is contained in:
@@ -49,6 +49,11 @@ class VideoController extends Controller
|
||||
|
||||
if ($o->remove AND $request->input('remove.'.$id))
|
||||
$this->dispatch((new VideoDelete($o))->onQueue('delete'));
|
||||
|
||||
elseif (! $o->remove) {
|
||||
$o->remove = TRUE;
|
||||
$o->save();
|
||||
}
|
||||
}
|
||||
|
||||
return redirect()->action('VideoController@deletes',$request->input('pagenext') ? '?page='.$request->input('pagenext') : NULL);
|
||||
|
Reference in New Issue
Block a user