From e36b59309f0f61954686878ccd32a6fa0e98e746 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sun, 27 Aug 2017 04:20:19 +0200 Subject: [PATCH] Remove xml format from posts controller closes #7584 --- app/controllers/posts_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb index 9d6b3258c..3194c1b59 100644 --- a/app/controllers/posts_controller.rb +++ b/app/controllers/posts_controller.rb @@ -6,7 +6,7 @@ class PostsController < ApplicationController before_action :authenticate_user!, only: %i(destroy mentionable) before_action :set_format_if_malformed_from_status_net, only: :show - respond_to :html, :mobile, :json, :xml + respond_to :html, :mobile, :json rescue_from Diaspora::NonPublic do authenticate_user!