summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/controllers/api/v1/phone_book_entries_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/phone_book_entries_controller.rb b/app/controllers/api/v1/phone_book_entries_controller.rb
index 7cae5a5..cae3259 100644
--- a/app/controllers/api/v1/phone_book_entries_controller.rb
+++ b/app/controllers/api/v1/phone_book_entries_controller.rb
@@ -66,7 +66,7 @@ module Api
# Let's sort the results and do pagination.
#
phone_book_entries = phone_book_entries.
- order([ :last_name, :first_name, :organization ])
+ order([ :last_name, :first_name, :organization ]).limit(20)
respond_with phone_book_entries
end