diff options
author | skv <skv-headless@yandex.ru> | 2013-12-14 17:43:48 +0400 |
---|---|---|
committer | skv <skv-headless@yandex.ru> | 2013-12-15 00:05:10 +0400 |
commit | d89527839ea0dd1734dacb71c3ed2a97f1ff74d7 (patch) | |
tree | 3fe4c3f961cefb0c06e956bb7906bbc943c90703 /lib/api/namespaces.rb | |
parent | ee53b73986ba4c9dd2f0c726a44718acb8febaf8 (diff) | |
download | gitlab-ce-d89527839ea0dd1734dacb71c3ed2a97f1ff74d7.tar.gz |
fix most of warnings
Diffstat (limited to 'lib/api/namespaces.rb')
-rw-r--r-- | lib/api/namespaces.rb | 2 |
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 |