report without protect
This commit is contained in:
parent
1c396d373a
commit
ea11d88e03
@ -17,7 +17,7 @@ module Devops
|
||||
json Devops::API2_0::Handler::Report.new(request).attributes(name)
|
||||
end
|
||||
|
||||
app.get_with_headers "/report/:id", headers: [:accept] do |id|
|
||||
app.get "/report/:id" do |id|
|
||||
@text, @done = Devops::API2_0::Handler::Report.new(request).report(id)
|
||||
erb :report
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user