projects
/
rails.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Replace redirect with bad request error for new report with missing params
[rails.git]
/
app
/
controllers
/
api
/
users
/
traces_controller.rb
1
module Api
2
module Users
3
class TracesController < ApiController
4
before_action :authorize
5
before_action :set_request_formats
6
7
authorize_resource :trace
8
9
def index
10
@traces = current_user.traces.reload
11
respond_to do |format|
12
format.xml
13
format.json
14
end
15
end
16
end
17
end
18
end