0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Renamed resources to taxonomies in default routes yaml file

refs https://github.com/TryGhost/Team/issues/65

- this was incorrect
- we don't use the wording `resources` in the routes yaml file
This commit is contained in:
kirrg001 2018-04-21 01:17:52 +02:00
parent 0ac19dcf84
commit 6ac00255e3
4 changed files with 4 additions and 4 deletions

View file

@ -7,6 +7,6 @@ collections:
- home
- index
resources:
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/

View file

@ -27,7 +27,7 @@ describe('UNIT > Settings Service:', function () {
const result = yamlParser(file, 'goodroutes.yaml');
should.exist(result);
result.should.be.an.Object().with.properties('routes', 'collections', 'resources');
result.should.be.an.Object().with.properties('routes', 'collections', 'taxonomies');
yamlSpy.calledOnce.should.be.true();
});

View file

@ -7,6 +7,6 @@ collections:
- home
- index
resources:
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/

View file

@ -7,6 +7,6 @@ collections:
- home
- index
resources:
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/