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:
parent
0ac19dcf84
commit
6ac00255e3
4 changed files with 4 additions and 4 deletions
|
@ -7,6 +7,6 @@ collections:
|
|||
- home
|
||||
- index
|
||||
|
||||
resources:
|
||||
taxonomies:
|
||||
tag: /tag/{slug}/
|
||||
author: /author/{slug}/
|
||||
|
|
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
|
@ -7,6 +7,6 @@ collections:
|
|||
- home
|
||||
- index
|
||||
|
||||
resources:
|
||||
taxonomies:
|
||||
tag: /tag/{slug}/
|
||||
author: /author/{slug}/
|
||||
|
|
|
@ -7,6 +7,6 @@ collections:
|
|||
- home
|
||||
- index
|
||||
|
||||
resources:
|
||||
taxonomies:
|
||||
tag: /tag/{slug}/
|
||||
author: /author/{slug}/
|
||||
|
|
Loading…
Add table
Reference in a new issue