mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-18 06:57: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
|