mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-01 07:18:00 +01:00
11 lines
281 B
Elixir
11 lines
281 B
Elixir
defmodule PhilomenaWeb.Api.Rss.WatchedController do
|
|
use PhilomenaWeb, :controller
|
|
|
|
alias PhilomenaWeb.ImageLoader
|
|
|
|
def index(conn, _params) do
|
|
{:ok, {images, _tags}} = ImageLoader.search_string(conn, "my:watched")
|
|
|
|
render(conn, "index.rss", images: images)
|
|
end
|
|
end
|