11 lines
246 B
Elixir
11 lines
246 B
Elixir
|
defmodule PodcastFeedWeb.FeedController do
|
||
|
use PodcastFeedWeb, :controller
|
||
|
|
||
|
def apeMilano(conn, _params) do
|
||
|
items = PodcastFeed.archive()
|
||
|
conn
|
||
|
|> put_resp_content_type("text/xml")
|
||
|
|> render("feed.xml", items: items)
|
||
|
end
|
||
|
end
|