diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-25 17:46:03 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-25 17:46:03 +0200 |
commit | 352f242d8ca491172db49d458f3eae31c70270c8 (patch) | |
tree | 5d99a3b6f2b4654bd2e21c2762ce49dcd9c4c2f7 /app/models | |
parent | b623391720e2687ca88c6bf1166ee571d85807fa (diff) | |
download | gitlab-ce-352f242d8ca491172db49d458f3eae31c70270c8.tar.gz |
Fix admin runner page -> assign all button
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/ci/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/project.rb b/app/models/ci/project.rb index a52e28615f7..8fb54b90d61 100644 --- a/app/models/ci/project.rb +++ b/app/models/ci/project.rb @@ -100,7 +100,7 @@ module Ci def unassigned(runner) joins("LEFT JOIN #{Ci::RunnerProject.table_name} ON #{Ci::RunnerProject.table_name}.project_id = #{Ci::Project.table_name}.id " \ "AND #{Ci::RunnerProject.table_name}.runner_id = #{runner.id}"). - where('#{Ci::RunnerProject.table_name}.project_id' => nil) + where("#{Ci::RunnerProject.table_name}.project_id" => nil) end def ordered_by_last_commit_date |