Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortiagonbotelho <tiagonbotelho@hotmail.com>2016-07-12 12:43:08 +0300
committertiagonbotelho <tiagonbotelho@hotmail.com>2016-07-12 18:36:42 +0300
commitbe3409ab7ad3a8bf7b0c9eecb588598869459741 (patch)
tree01aa90916d858eb89241461c3e0b77eb915bd8cf /lib/api/projects.rb
parenta4678edde4d1b2257b1173a4475ab1ba5bdbc228 (diff)
changes string to symbol in param
Diffstat (limited to 'lib/api/projects.rb')
-rw-r--r--lib/api/projects.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb
index 7aea553bdca..844547665ef 100644
--- a/lib/api/projects.rb
+++ b/lib/api/projects.rb
@@ -25,7 +25,7 @@ module API
@projects = current_user.authorized_projects
@projects = filter_projects(@projects)
@projects = paginate @projects
- if params["simple"]
+ if params[:simple]
present @projects, with: Entities::BasicProjectWithAccess, user: current_user
else
present @projects, with: Entities::ProjectWithAccess, user: current_user