mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 19:15:58 +01:00 
			
		
		
		
	closes #2400
This commit is contained in:
		| @@ -237,4 +237,11 @@ Controllers.outgoing = function(req, res, next) { | ||||
| 	} | ||||
| }; | ||||
|  | ||||
| Controllers.termsOfUse = function(req, res, next) { | ||||
| 	if (!meta.config.termsOfUse) { | ||||
| 		return categoriesController.notFound(req, res); | ||||
| 	} | ||||
| 	res.render('tos', {termsOfUse: meta.config.termsOfUse}); | ||||
| }; | ||||
|  | ||||
| module.exports = Controllers; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user