add controller action mapping for message post

This commit is contained in:
byte[] 2019-11-18 13:24:02 -05:00
parent d1ae1c7348
commit 889e2349d0

View file

@ -7,6 +7,7 @@ defmodule PhilomenaWeb.Conversation.MessageController do
import Ecto.Query
plug PhilomenaWeb.FilterBannedUsersPlug
plug PhilomenaWeb.CanaryMapPlug, create: :show
plug :load_and_authorize_resource, model: Conversation, id_name: "conversation_id", id_field: "slug", persisted: true
def create(conn, %{"message" => message_params}) do