mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +01:00
7 lines
169 B
Elixir
7 lines
169 B
Elixir
defmodule PhilomenaWeb.Image.CommentView do
|
|
use PhilomenaWeb, :view
|
|
|
|
def anonymous_by_default?(conn) do
|
|
conn.assigns.current_user.anonymous_by_default
|
|
end
|
|
end
|