Commit be3409ab authored by tiagonbotelho's avatar tiagonbotelho

changes string to symbol in param

parent a4678edd
...@@ -25,7 +25,7 @@ module API ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment