]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/CommentController.php
Update passwords.php
[bookstack] / app / Http / Controllers / CommentController.php
index 2039ce7fe9ff749a2e2c76a2eb20b9d96b0701ef..860b507623fb6b5d09cd6a2a1f1a4aea5021fc35 100644 (file)
@@ -54,7 +54,7 @@ class CommentController extends Controller
         $this->checkPermission('comment-create-all');
         $comment = $this->commentRepo->create($page, $request->only(['html', 'text', 'parent_id']));
         Activity::add($page, 'commented_on', $page->book->id);
-        return view('comments/comment', ['comment' => $comment]);
+        return view('comments.comment', ['comment' => $comment]);
     }
 
     /**
@@ -75,7 +75,7 @@ class CommentController extends Controller
         $this->checkOwnablePermission('comment-update', $comment);
 
         $comment = $this->commentRepo->update($comment, $request->only(['html', 'text']));
-        return view('comments/comment', ['comment' => $comment]);
+        return view('comments.comment', ['comment' => $comment]);
     }
 
     /**