chore: move files to frontend

This commit is contained in:
Henrique Dias committed 2019-05-21 11:13:59 +01:00
1 parent d45d7f92fb
commit 7414ca10b3
137 files changed

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
function removeLastDir (url) {
var arr = url.split('/')
if (arr.pop() === '') {
arr.pop()
}
return arr.join('/')
}
export default {
removeLastDir: removeLastDir
}