summaryrefslogtreecommitdiff
path: root/lib/api/namespaces.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/namespaces.rb
parentee53b73986ba4c9dd2f0c726a44718acb8febaf8 (diff)
downloadgitlab-ce-d89527839ea0dd1734dacb71c3ed2a97f1ff74d7.tar.gz
fix most of warnings
Diffstat (limited to 'lib/api/namespaces.rb')
-rw-r--r--lib/api/namespaces.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/namespaces.rb b/lib/api/namespaces.rb
index 3a9ab66957e..f9f2ed90ccc 100644
--- a/lib/api/namespaces.rb
+++ b/lib/api/namespaces.rb
@@ -12,7 +12,7 @@ module API
# Example Request:
# GET /namespaces
get do
- @namespaces = Namespace.scoped
+ @namespaces = Namespace.all
@namespaces = @namespaces.search(params[:search]) if params[:search].present?
@namespaces = paginate @namespaces