mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 18:08:11 +00:00 
			
		
		
		
	
		
			
	
	
		
			13 lines
		
	
	
		
			208 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
		
			208 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
|   | /** | ||
|  |  * Show a specific entry. | ||
|  |  */ | ||
|  | 
 | ||
|  | module.exports = function * () { | ||
|  |   try { | ||
|  |     const entry = yield strapi.hooks.blueprints.findOne(this); | ||
|  |     this.body = entry; | ||
|  |   } catch (err) { | ||
|  |     this.body = err; | ||
|  |   } | ||
|  | }; |