Merge remote-tracking branch 'upstream/pull/2279'

This commit is contained in:
Tom Hughes 2019-06-26 14:07:29 +01:00
commit 899fc66a62
2 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ module Api
def show
if @user.visible?
render :action => :show, :content_type => "text/xml"
render :content_type => "text/xml"
else
head :gone
end
@ -33,7 +33,7 @@ module Api
@users = User.visible.find(ids)
render :action => :index, :content_type => "text/xml"
render :content_type => "text/xml"
end
def gpx_files

View file

@ -126,7 +126,7 @@ class SiteController < ApplicationController
:style_src => %w['unsafe-inline']
)
render "id", :layout => false
render :layout => false
end
private