Class: Pinnable::CommentsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Pinnable::CommentsController
- Defined in:
- app/controllers/pinnable/comments_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
3 4 5 |
# File 'app/controllers/pinnable/comments_controller.rb', line 3 def create render json: { public_id: comment.public_id, author_label: comment., body: comment.body }, status: :created end |