report without protect

This commit is contained in:
amartynov 2015-08-10 13:21:00 +03:00
parent 1c396d373a
commit ea11d88e03

View File

@ -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