From 9526f6d67a4db37c80b91eeafc5fb33bc15b7fc6 Mon Sep 17 00:00:00 2001 From: yanxd Date: Tue, 5 Nov 2013 20:57:11 +0800 Subject: [PATCH] remove string unkown --- app/controllers/projects_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 74564abd8..53c594ede 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -485,6 +485,7 @@ class ProjectsController < ApplicationController @trackers = Tracker.sorted.all @project = Project.new @project.safe_attributes = params[:project] + logger.error "=======================================================#{params[:project].class}" ##add by huang @course=Course.new @course.safe_attributes = params[:course] @@ -774,7 +775,7 @@ class ProjectsController < ApplicationController @subPage_title = l :label_student_list @members = searchStudent(@project) else - @subPage_title = 'unKown' + @subPage_title = '' @members = [] end else