2019-10-04 20:51:56 -04:00
|
|
|
defmodule PhilomenaWeb.CommentView do
|
|
|
|
use PhilomenaWeb, :view
|
2019-12-11 17:21:14 -05:00
|
|
|
|
|
|
|
defp comment_body_class(%{destroyed_content: true}), do: "comment--destroyed"
|
|
|
|
defp comment_body_class(_comment), do: nil
|
2019-10-04 20:51:56 -04:00
|
|
|
end
|