fix: git sync untracked

This commit is contained in:
Nick
2019-09-27 14:17:12 -04:00
parent 30d800bc08
commit 454da698a1
3 changed files with 15 additions and 9 deletions

View File

@@ -159,14 +159,7 @@ module.exports = class Page extends Model {
* @returns {string} File Extension
*/
getFileExtension() {
switch (this.contentType) {
case 'markdown':
return 'md'
case 'html':
return 'html'
default:
return 'txt'
}
return pageHelper.getFileExtension(this.contentType)
}
/**