mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-11-03 20:45:58 +01:00 
			
		
		
		
	no longer requiring that interstitial.data be set in interstitial data
... lol that commit message makes no sense.
This commit is contained in:
		@@ -199,7 +199,7 @@ Controllers.registerInterstitial = function(req, res, next) {
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		var renders = data.interstitials.map(function(interstitial) {
 | 
			
		||||
			return async.apply(req.app.render.bind(req.app), interstitial.template, interstitial.data);
 | 
			
		||||
			return async.apply(req.app.render.bind(req.app), interstitial.template, interstitial.data || {});
 | 
			
		||||
		});
 | 
			
		||||
		var errors = req.flash('error');
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user