changes string to symbol in param
This commit is contained in:
parent
a4678edde4
commit
be3409ab7a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue