-
Oswaldo Ferreira authored
This commit handles N+1 calls being submited at 'GET /projects/:id/repository/branches' endpoint for protected branches. It does so by using properly eagerloaded protected branches relations, which also avoids N+1 ActiveRecord cached calls.
12090792