mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
34 lines
879 B
PHP
34 lines
879 B
PHP
|
<?php
|
||
|
|
||
|
namespace BookStack\Http\Controllers;
|
||
|
|
||
|
use Illuminate\Http\Request;
|
||
|
|
||
|
use BookStack\Http\Requests;
|
||
|
|
||
|
class CommentController extends Controller
|
||
|
{
|
||
|
|
||
|
public function add(Request $request, $pageId) {
|
||
|
// $this->checkOwnablePermission('page-view', $page);
|
||
|
}
|
||
|
|
||
|
public function update(Request $request, $id) {
|
||
|
// Check whether its an admin or the comment owner.
|
||
|
// $this->checkOwnablePermission('page-view', $page);
|
||
|
}
|
||
|
|
||
|
public function destroy($id) {
|
||
|
// Check whether its an admin or the comment owner.
|
||
|
// $this->checkOwnablePermission('page-view', $page);
|
||
|
}
|
||
|
|
||
|
public function getLastXComments($pageId) {
|
||
|
// $this->checkOwnablePermission('page-view', $page);
|
||
|
}
|
||
|
|
||
|
public function getChildComments($pageId, $id) {
|
||
|
// $this->checkOwnablePermission('page-view', $page);
|
||
|
}
|
||
|
}
|