diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-02 19:32:34 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-02 19:32:34 +0200 |
commit | d431e4339269041784986da40a0e0879baaf96a9 (patch) | |
tree | 1910d14e460d52445d8ae7a6a1906f4a9eec23cb /app/models/key.rb | |
parent | 00a1f5bc2cc2c98bda3818e770eaae95e664480a (diff) | |
download | gitlab-ce-d431e4339269041784986da40a0e0879baaf96a9.tar.gz |
Fix few bugs and tests after refactoring ownership logic
Diffstat (limited to 'app/models/key.rb')
-rw-r--r-- | app/models/key.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/key.rb b/app/models/key.rb index 5dac1c1c9fd..2bf50f56565 100644 --- a/app/models/key.rb +++ b/app/models/key.rb @@ -73,7 +73,7 @@ class Key < ActiveRecord::Base if is_deploy_key [project] else - user.projects + user.authorized_projects end end |