Merge remote-tracking branch 'upstream/pull/2279'
This commit is contained in:
commit
899fc66a62
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -126,7 +126,7 @@ class SiteController < ApplicationController
|
|||
:style_src => %w['unsafe-inline']
|
||||
)
|
||||
|
||||
render "id", :layout => false
|
||||
render :layout => false
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue