summaryrefslogtreecommitdiff
path: root/lib/api/runners.rb
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-04-28 11:57:19 +0300
committerValery Sizov <vsv2711@gmail.com>2015-04-28 13:05:09 +0300
commit71fe26e620ad735a093512e14c13b1eaa4927020 (patch)
tree14730e851c280925d6372a7405078d42ca3dedc5 /lib/api/runners.rb
parentd3abf125f3ac74641c9a5e62390a08e6cd786fa9 (diff)
downloadgitlab-ci-api_rework.tar.gz
API rework && testsapi_rework
Diffstat (limited to 'lib/api/runners.rb')
-rw-r--r--lib/api/runners.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/api/runners.rb b/lib/api/runners.rb
index 0ec4871..44aae22 100644
--- a/lib/api/runners.rb
+++ b/lib/api/runners.rb
@@ -10,11 +10,7 @@ module API
authenticate!
runners = Runner.all
- if runners.present?
- present runners, with: Entities::Runner
- else
- not_found!
- end
+ present runners, with: Entities::Runner
end
# Delete runner