diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-04 08:43:25 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-04 08:43:25 +0200 |
commit | dccd8b6eaa8b2e98b0245262a8e39df8fb8ae634 (patch) | |
tree | 541a40fb2e84b24ab0c4ae39fa18b1b720e5d7c2 /app/views/admin/projects/_form.html.haml | |
parent | 39ba934c0a65f571214998e056e925b61f389360 (diff) | |
download | gitlab-ce-dccd8b6eaa8b2e98b0245262a8e39df8fb8ae634.tar.gz |
Continue refactoring. Use repostory and team
Diffstat (limited to 'app/views/admin/projects/_form.html.haml')
-rw-r--r-- | app/views/admin/projects/_form.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/projects/_form.html.haml b/app/views/admin/projects/_form.html.haml index 27c22872d50..534c42223b3 100644 --- a/app/views/admin/projects/_form.html.haml +++ b/app/views/admin/projects/_form.html.haml @@ -22,7 +22,7 @@ - if project.repo_exists? .clearfix = f.label :default_branch, "Default Branch" - .input= f.select(:default_branch, project.heads.map(&:name), {}, style: "width:210px;") + .input= f.select(:default_branch, repository.heads.map(&:name), {}, style: "width:210px;") %fieldset.adv_settings %legend Features: |