(Update) Post Rules

This commit is contained in:
HDVinnie
2018-03-01 22:21:47 -05:00
parent 4ee6f437f1
commit a3b7f76b92
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -334,6 +334,7 @@ class ForumController extends Controller
return redirect()->route('forum_topic', ['slug' => $topic->slug, 'id' => $topic->id]);
} else {
// Unable to save the first post doc delete the topic
Toastr::error('You Did Not Meet All The Requirments For Creating A Yopic!', 'Whoops!', ['options']);
$topic->delete();
}
} else {