mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 23:08:00 +01:00
6 lines
194 B
Elixir
6 lines
194 B
Elixir
defmodule PhilomenaWeb.CommentView do
|
|
use PhilomenaWeb, :view
|
|
|
|
defp comment_body_class(%{destroyed_content: true}), do: "comment--destroyed"
|
|
defp comment_body_class(_comment), do: nil
|
|
end
|