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