Fix 404s on RSS feeds

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2019-07-08 16:53:54 +02:00
parent 819870c8bb
commit b52fc33d97
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -3,6 +3,7 @@ defmodule MobilizonWeb.FeedController do
Controller to serve RSS, ATOM and iCal Feeds Controller to serve RSS, ATOM and iCal Feeds
""" """
use MobilizonWeb, :controller use MobilizonWeb, :controller
plug(:put_layout, false)
action_fallback(MobilizonWeb.FallbackController) action_fallback(MobilizonWeb.FallbackController)
def actor(conn, %{"name" => name, "format" => "atom"}) do def actor(conn, %{"name" => name, "format" => "atom"}) do