Class: Api::V1::MessagesController
- Inherits:
-
ApiController
- Object
- ApiController
- Api::V1::MessagesController
- Includes:
- Concerns::ActAsApiRequest
- Defined in:
- lib/templates/chat/messages_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
8 9 10 |
# File 'lib/templates/chat/messages_controller.rb', line 8 def create @message = ChatService.(chat, [:content], current_user) end |