code: function (req, res) {
          var id = req.params.id;
          {modelName}.findOne({_id: id}, function (err, {name}) {
              if (err) {
                  return res.status(500).json({
                      message: 'Error when getting {name}.',
                      error: err
                  });
              }
              if (!{name}) {
                  return res.status(404).json({
                      message: 'No such {name}'
                  });
              }
              return res.json({name});
          });
      }
docs: {controllerName}.show()