Skip to content
Snippets Groups Projects
Commit be3409ab authored by tiagonbotelho's avatar tiagonbotelho
Browse files

changes string to symbol in param

parent a4678edd
Branches
Tags
1 merge request!5113Dropdown loading time preformance fix
Loading
@@ -25,7 +25,7 @@ module API
Loading
@@ -25,7 +25,7 @@ module API
@projects = current_user.authorized_projects @projects = current_user.authorized_projects
@projects = filter_projects(@projects) @projects = filter_projects(@projects)
@projects = paginate @projects @projects = paginate @projects
if params["simple"] if params[:simple]
present @projects, with: Entities::BasicProjectWithAccess, user: current_user present @projects, with: Entities::BasicProjectWithAccess, user: current_user
else else
present @projects, with: Entities::ProjectWithAccess, user: current_user present @projects, with: Entities::ProjectWithAccess, user: current_user
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment