forked from GitHub/dbot
		
	pass module links to each page
This commit is contained in:
		
							parent
							
								
									eb348848e6
								
							
						
					
					
						commit
						5e1dcd4d30
					
				| @ -81,7 +81,8 @@ var webInterface = function(dbot) { | ||||
|                         // Render with express.js
 | ||||
|                         _.extend(one, {  | ||||
|                             'name': dbot.config.name, | ||||
|                             'user': req.user     | ||||
|                             'user': req.user, | ||||
|                             'modules': this.indexLinks | ||||
|                         }); | ||||
|                         resp.render(this.module + '/' + view, one, two); | ||||
|                     }).bind(this); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 reality
						reality