def show
if @user.visible?
- render :action => :show, :content_type => "text/xml"
+ render :content_type => "text/xml"
else
head :gone
end
@users = User.visible.find(ids)
- render :action => :index, :content_type => "text/xml"
+ render :content_type => "text/xml"
end
def gpx_files
@traces = current_user.traces.reload
- render "api/traces/trace", :content_type => "application/xml"
+ render :content_type => "application/xml"
end
private