public function delete($id) { Video::destroy($id); return redirect()->route('admin.videos.index')->with('success', 'Video Review Deleted!'); }
/** * Bind data to the view. * * @param View $view * @return void */ public function compose(View $view) { $video = Video::orderBy('timestamp', 'desc')->first(); $view->with('video', $video); }