|  |  |  | @ -211,8 +211,11 @@ class BidsController < ApplicationController | 
			
		
	
		
			
				
					|  |  |  |  |     @membership = User.current.memberships.all(:conditions => Project.visible_condition(User.current)) | 
			
		
	
		
			
				
					|  |  |  |  |     @option = [] | 
			
		
	
		
			
				
					|  |  |  |  |     @membership.each do |membership| | 
			
		
	
		
			
				
					|  |  |  |  |      if(membership.project.project_type==1)     | 
			
		
	
		
			
				
					|  |  |  |  |         else  | 
			
		
	
		
			
				
					|  |  |  |  |              @option << membership.project | 
			
		
	
		
			
				
					|  |  |  |  |       end | 
			
		
	
		
			
				
					|  |  |  |  |     end | 
			
		
	
		
			
				
					|  |  |  |  |     # a = [1] | 
			
		
	
		
			
				
					|  |  |  |  |     # @project = Project.where("id in []", a) | 
			
		
	
		
			
				
					|  |  |  |  |     @user = @bid.author | 
			
		
	
	
		
			
				
					|  |  |  | @ -242,7 +245,6 @@ class BidsController < ApplicationController | 
			
		
	
		
			
				
					|  |  |  |  |     @membership = User.current.memberships.all(:conditions => Project.visible_condition(User.current)) | 
			
		
	
		
			
				
					|  |  |  |  |     @option = [] | 
			
		
	
		
			
				
					|  |  |  |  |     @membership.each do |membership| | 
			
		
	
		
			
				
					|  |  |  |  |       @option << membership.project | 
			
		
	
		
			
				
					|  |  |  |  |     end | 
			
		
	
		
			
				
					|  |  |  |  |     # a = [1] | 
			
		
	
		
			
				
					|  |  |  |  |     # @project = Project.where("id in []", a) | 
			
		
	
	
		
			
				
					|  |  |  | 
 |