Reverted deleted lines by accident

This commit is contained in:
Zanz2 2018-08-28 14:51:05 +02:00
parent b26530a02f
commit 728b1fe491

View file

@ -248,6 +248,7 @@ class ProjectsController < ApplicationController
@project.save
end
# This is the "info" view
current_team_switch(@project.team)
@current_sort = @project.experiments_order
end
@ -317,7 +318,6 @@ class ProjectsController < ApplicationController
def load_projects_tree
# Switch to correct team
current_team_switch(@project.team) unless @project.nil?
if current_user.teams.any?
@current_team = current_team if current_team