summaryrefslogtreecommitdiff
path: root/lib/api/runners.rb
diff options
context:
space:
mode:
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