axe-api 0.20.0-rc27 → 0.20.0-rc28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -210,11 +210,9 @@ class RouterBuilder {
|
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
getResourcePath(model, relation) {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
// ? relation.resource
|
|
217
|
-
// : paramCase(pluralize.plural(model.name)).toLowerCase();
|
|
213
|
+
return relation
|
|
214
|
+
? relation.name
|
|
215
|
+
: (0, change_case_1.paramCase)(pluralize_1.default.plural(model.name)).toLowerCase();
|
|
218
216
|
}
|
|
219
217
|
}
|
|
220
218
|
exports.default = RouterBuilder;
|
package/package.json
CHANGED