mirror of
https://github.com/strapi/strapi.git
synced 2025-11-05 12:24:35 +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;
|
||
|
|
}
|
||
|
|
};
|