mirror of
https://github.com/strapi/strapi.git
synced 2025-07-19 23:16:47 +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;
|
||
|
}
|
||
|
};
|