mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
Fix teams tests
This commit is contained in:
parent
e3f9087600
commit
be49216e71
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ class TeamsController < ApplicationController
|
|||
|
||||
@exp_projects = []
|
||||
if export_projects_params[:project_ids]
|
||||
@exp_projects = @team.project.where(id: export_projects_params[:project_ids]).to_a
|
||||
@exp_projects = @team.projects.where(id: export_projects_params[:project_ids]).to_a
|
||||
end
|
||||
if export_projects_params[:project_folder_ids]
|
||||
folders = @team.project_folders.where(id: export_projects_params[:project_folder_ids])
|
||||
|
|
Loading…
Reference in a new issue