Awards as separate menu item

This commit is contained in:
tmshv committed 2017-02-19 23:29:46 +03:00
1 parent aef05d6937
commit f27cc4003f
7 files changed
+35 -11

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ function type() {
return route.get('/documents/type/:type', async(ctx, type) => {
let types = {
'document': ['documents', {type: 'document'}, populateDocPreview],
'award': ['documents', {type: 'award'}, populateDocPreview]
'award': ['awards', {type: 'award'}, populateDocPreview]
}
if (type in types) {