]> BookStack Code Mirror - bookstack/blob - app/Http/Controllers/CommentController.php
Merge branch 'master' of https://github.com/Abijeet/BookStack
[bookstack] / app / Http / Controllers / CommentController.php
1 <?php
2
3 namespace BookStack\Http\Controllers;
4
5 use Illuminate\Http\Request;
6
7 use BookStack\Http\Requests;
8
9 class CommentController extends Controller
10 {
11     
12     public function add(Request $request, $pageId) {
13         // $this->checkOwnablePermission('page-view', $page);
14     }
15     
16     public function update(Request $request, $id) {
17         // Check whether its an admin or the comment owner.
18         // $this->checkOwnablePermission('page-view', $page);
19     }
20     
21     public function destroy($id) {
22         // Check whether its an admin or the comment owner.
23         // $this->checkOwnablePermission('page-view', $page);
24     }
25     
26     public function getLastXComments($pageId) {
27         // $this->checkOwnablePermission('page-view', $page);
28     }
29     
30     public function getChildComments($pageId, $id) {
31         // $this->checkOwnablePermission('page-view', $page);
32     }
33 }