Class: CommentController

lib/controllers/comment-controller~CommentController()

new CommentController()

Create a CommentController.
Source:

Methods

(async, static) commentCreatePost(req, res)

Create a new Comment resource.
Parameters:
Name Type Description
req Request The HTTP request.
res Response The HTTP response object .
Source:

(async, static) commentDestroyDelete(req, res)

Remove the specified Comment resource.
Parameters:
Name Type Description
req Request The HTTP request.
res Response The HTTP response object .
Source:

(async, static) commentEditGet(req, res)

Show to the form for editing the specified Comment resource.
Parameters:
Name Type Description
req Request The HTTP request.
res Response The HTTP response object .
Source:

(async, static) commentNewGet(req, res)

Show the form for creating a new Comment resource.
Parameters:
Name Type Description
req Request The HTTP request.
res Response The HTTP response object .
Source:

(async, static) commentUpdatePut(req, res)

Update the specified Comment resource.
Parameters:
Name Type Description
req Request The HTTP request.
res Response The HTTP response object .
Source: