mirror of
https://github.com/strapi/strapi.git
synced 2025-07-17 14:02:21 +00:00
15 lines
223 B
JavaScript
15 lines
223 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* Show a specific entry.
|
|
*/
|
|
|
|
module.exports = function * () {
|
|
try {
|
|
const entry = yield strapi.hooks.blueprints.findOne(this);
|
|
this.body = entry;
|
|
} catch (err) {
|
|
this.body = err;
|
|
}
|
|
};
|