mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-25 04:47:59 +01:00
6 lines
203 B
Elixir
6 lines
203 B
Elixir
defmodule PhilomenaWeb.SearchView do
|
|
use PhilomenaWeb, :view
|
|
|
|
def scope(conn), do: PhilomenaWeb.ImageScope.scope(conn)
|
|
def hides_images?(conn), do: can?(conn, :hide, %Philomena.Images.Image{})
|
|
end
|