with('thread', $this->thread); } public function delete() { if (Auth::user()->may(Forums::roleset(), Forums::GLOBAL_DELETE_POSTS)) { $this->thread->delete(); return redirect(route('forum')); } } }