Skip to content

Commit

Permalink
[api] noone looks at maintenance incidents but google
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed Nov 16, 2012
1 parent 4552163 commit 7954240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/controllers/webui_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def project_infos

if pro.project_type == 'maintenance_incident'
rel = BsRequest.collection(project: params[:project], states: ['new','review'], types: ['maintenance_release'], roles: ['source'])
infos[:open_release_requests] = rel.select("bs_request.id").all.map { |r| r.id }
infos[:open_release_requests] = rel.select("bs_requests.id").all.map { |r| r.id }
end

render json: infos
Expand Down

0 comments on commit 7954240

Please sign in to comment.