mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	
		
			
	
	
		
			16 lines
		
	
	
		
			281 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			16 lines
		
	
	
		
			281 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
|  | 'use strict'; | ||
|  | 
 | ||
|  | var widgetsController = {}; | ||
|  | 
 | ||
|  | widgetsController.get = function(req, res, next) { | ||
|  | 	require('../../widgets/admin').get(function(err, data) { | ||
|  | 		if (err) { | ||
|  | 			return next(err); | ||
|  | 		} | ||
|  | 
 | ||
|  | 		res.render('admin/extend/widgets', data); | ||
|  | 	}); | ||
|  | }; | ||
|  | 
 | ||
|  | 
 | ||
|  | module.exports = widgetsController; |