Remove xml format from posts controller

closes #7584
This commit is contained in:
Benjamin Neff 2017-08-27 04:20:19 +02:00
parent b556ad5211
commit e36b59309f
No known key found for this signature in database
GPG key ID: 971464C3F1A90194

View file

@ -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!