Fixed cancel on publishing new documents

This commit is contained in:
Jori Lallo
2017-09-11 22:37:14 -07:00
parent 2a8f3a7e28
commit f9ec9d7b15
2 changed files with 12 additions and 2 deletions

View File

@ -14,6 +14,10 @@ export function newCollectionUrl(): string {
return '/collections/new';
}
export function collectionUrl(collectionId: string): string {
return `/collections/${collectionId}`;
}
export function documentUrl(doc: Document): string {
return doc.url;
}