Fix issue #125: empty list of target branches
authorMarius Mathiesen <marius@gitorious.org>
Tue, 9 Oct 2012 09:20:18 +0000 (11:20 +0200)
committerMarius Mathiesen <marius@gitorious.org>
Tue, 9 Oct 2012 09:20:18 +0000 (11:20 +0200)
commit6d2b4533215f781d17dad06c70610526abb053c0
treec9ca65c67dbb2e8cd112873e913c25be6c691ac7
parent2a0e2bedc90276148b3956689fd297cade9a6bf2
Fix issue #125: empty list of target branches

While introducing support for private repositories, the list of target
branches in a repository was filtered; Grit::Head objects do not
support (and should not support) access control. Access control should
be done on a higher level (repository).
app/controllers/merge_requests_controller.rb