/** * delete existing video to the database * @param int $id * @return Response */ public function deleteVideoFromGallery($id) { if (GalleryContent::deleteContent($id, 'client/video/vid-gallery/')) { Notify::success('Video deleted successfully'); return redirect()->action('AdminDashboardController@showVideoGallery'); } else { Notify::warning('Video was not deleted'); return redirect()->action('AdminDashboardController@showVideoGallery'); } }