]> git.openstreetmap.org Git - rails.git/blob - app/controllers/api/users/traces_controller.rb
Merge remote-tracking branch 'upstream/pull/5500'
[rails.git] / app / controllers / api / users / traces_controller.rb
1 module Api
2   module Users
3     class TracesController < ApiController
4       before_action :authorize
5
6       authorize_resource :trace
7
8       def index
9         @traces = current_user.traces.reload
10         render :content_type => "application/xml"
11       end
12     end
13   end
14 end