|  |  | @ -227,8 +227,10 @@ class ChallengesController < ApplicationController | 
			
		
	
		
		
			
				
					
					|  |  |  |             @challenge.update_attributes(picture_path: nil, web_route: nil, expect_picture_path: nil, original_picture_path: nil) |  |  |  |             @challenge.update_attributes(picture_path: nil, web_route: nil, expect_picture_path: nil, original_picture_path: nil) | 
			
		
	
		
		
			
				
					
					|  |  |  |           end |  |  |  |           end | 
			
		
	
		
		
			
				
					
					|  |  |  |           # 关卡评测执行文件如果被修改,需要修改脚本内容 |  |  |  |           # 关卡评测执行文件如果被修改,需要修改脚本内容 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           unless @shixun.published | 
			
		
	
		
		
			
				
					
					|  |  |  |             script = modify_shixun_script @shixun, @shixun.evaluate_script |  |  |  |             script = modify_shixun_script @shixun, @shixun.evaluate_script | 
			
		
	
		
		
			
				
					
					|  |  |  |             @shixun.shixun_info.update_column(:evaluate_script, script) |  |  |  |             @shixun.shixun_info.update_column(:evaluate_script, script) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           end | 
			
		
	
		
		
			
				
					
					|  |  |  |           # TODO: |  |  |  |           # TODO: | 
			
		
	
		
		
			
				
					
					|  |  |  |           # if path != params[:challenge][:path] |  |  |  |           # if path != params[:challenge][:path] | 
			
		
	
		
		
			
				
					
					|  |  |  |           #   shixun_modify_status_without_publish(@shixun, 1) |  |  |  |           #   shixun_modify_status_without_publish(@shixun, 1) | 
			
		
	
	
		
		
			
				
					|  |  | 
 |