davearonson/pull-request-roulette

View on GitHub
app/views/pull_requests/index.json.jbuilder

Summary

Maintainability
Test Coverage
json.array!(@pull_requests) do |pull_request|
  json.extract! pull_request, 
  json.url pull_request_url(pull_request, format: :json)
end