diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-25 18:46:03 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-10-05 21:06:45 +0300 |
commit | 67fec8b39461d94605168e0941207088b7729b37 (patch) | |
tree | 8fef969fa12239f6abe47c284aa0b4fcc19be989 /app | |
parent | 38b0bd31e30c54e78a851bcdc021accb53cd7df7 (diff) |
Fix admin runner page -> assign all button
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-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 37fbcc287bb..f89beae0684 100644 --- a/app/models/ci/project.rb +++ b/app/models/ci/project.rb @@ -99,7 +99,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 |