summaryrefslogtreecommitdiff
path: root/lib/api/users.rb
diff options
context:
space:
mode:
authorskv <skv-headless@yandex.ru>2013-12-14 17:43:48 +0400
committerskv <skv-headless@yandex.ru>2013-12-15 00:05:10 +0400
commitd89527839ea0dd1734dacb71c3ed2a97f1ff74d7 (patch)
tree3fe4c3f961cefb0c06e956bb7906bbc943c90703 /lib/api/users.rb
parentee53b73986ba4c9dd2f0c726a44718acb8febaf8 (diff)
downloadgitlab-ce-d89527839ea0dd1734dacb71c3ed2a97f1ff74d7.tar.gz
fix most of warnings
Diffstat (limited to 'lib/api/users.rb')
-rw-r--r--lib/api/users.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/users.rb b/lib/api/users.rb
index 54d3aeecb70..475343a3edf 100644
--- a/lib/api/users.rb
+++ b/lib/api/users.rb
@@ -9,7 +9,7 @@ module API
# Example Request:
# GET /users
get do
- @users = User.scoped
+ @users = User.all
@users = @users.active if params[:active].present?
@users = @users.search(params[:search]) if params[:search].present?
@users = paginate @users