1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

#47 - Gets rid of simplemde

This commit is contained in:
Abijeet
2017-05-03 02:42:04 +05:30
parent 3368fe42d8
commit 8b82753218
10 changed files with 19 additions and 85 deletions

View File

@ -17,7 +17,7 @@ class CommentController extends Controller
parent::__construct();
}
public function save(Request $request, $pageId, $commentId)
public function save(Request $request, $pageId, $commentId = null)
{
$this->validate($request, [
'text' => 'required|string',