diff --git a/lib/podcast_feed_web/controllers/feed_controller.ex b/lib/podcast_feed_web/controllers/feed_controller.ex index 7457eb0..52feab8 100644 --- a/lib/podcast_feed_web/controllers/feed_controller.ex +++ b/lib/podcast_feed_web/controllers/feed_controller.ex @@ -1,13 +1,6 @@ defmodule PodcastFeedWeb.FeedController do use PodcastFeedWeb, :controller - def apeMilano(conn, _params) do - %{podcast: podcast, items: items} = PodcastFeed.archive("incontri-a-piano-terra") - conn - |> put_resp_content_type("text/xml") - |> render("feed.xml", podcast: podcast, items: items) - end - def by_identifier(conn, %{"identifier" => identifier}) do %{podcast: podcast, items: items} = PodcastFeed.archive(identifier) conn diff --git a/lib/podcast_feed_web/router.ex b/lib/podcast_feed_web/router.ex index 83d0d4a..d9072a1 100644 --- a/lib/podcast_feed_web/router.ex +++ b/lib/podcast_feed_web/router.ex @@ -13,12 +13,6 @@ defmodule PodcastFeedWeb.Router do plug :accepts, ["json"] end - scope "/", PodcastFeedWeb do - pipe_through :browser - - get "/ape-milano", FeedController, :apeMilano - end - scope "/podcast", PodcastFeedWeb do pipe_through :browser