mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
mix format
This commit is contained in:
parent
4cdc362237
commit
70e70254ed
2 changed files with 10 additions and 2 deletions
|
@ -39,7 +39,11 @@ defmodule PhilomenaWeb.Topic.PostController do
|
|||
PhilomenaWeb.Endpoint.broadcast!(
|
||||
"firehose",
|
||||
"post:create",
|
||||
PhilomenaWeb.Api.Json.Forum.Topic.PostView.render("firehose.json", %{post: post, topic: topic, forum: forum})
|
||||
PhilomenaWeb.Api.Json.Forum.Topic.PostView.render("firehose.json", %{
|
||||
post: post,
|
||||
topic: topic,
|
||||
forum: forum
|
||||
})
|
||||
)
|
||||
end
|
||||
|
||||
|
|
|
@ -112,7 +112,11 @@ defmodule PhilomenaWeb.TopicController do
|
|||
PhilomenaWeb.Endpoint.broadcast!(
|
||||
"firehose",
|
||||
"post:create",
|
||||
PhilomenaWeb.Api.Json.Forum.Topic.PostView.render("firehose.json", %{post: post, topic: topic, forum: forum})
|
||||
PhilomenaWeb.Api.Json.Forum.Topic.PostView.render("firehose.json", %{
|
||||
post: post,
|
||||
topic: topic,
|
||||
forum: forum
|
||||
})
|
||||
)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue