Remove useless todo

This commit is contained in:
Aurélien Georget 2016-03-02 16:44:38 +01:00
parent 93572c4e02
commit 0e26dc48e9

View File

@ -206,8 +206,6 @@ module.exports = {
if (strapi.models.hasOwnProperty(type)) {
_.forEach(strapi.models[type].associations, function (relation) {
const PK = utilsORM.getPK(relation.model) || utilsORM.getPK(relation.collection);
// TODO:
// - Use matched route
const availableRoutes = {
relSlSelf: utils.isRoute('GET /' + type + '/:' + PK + '/relationships/:relation'),
relSlRelated: utils.isRoute('GET /' + type + '/:' + PK),