Change name of method link for path

This commit is contained in:
Quique Fdez Guerra 2017-12-01 13:38:45 +01:00 committed by GitHub
parent 68b0685339
commit 31257dfe3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ export default ({ app, store }) => {
}
})
app.i18n.link = (link) => {
app.i18n.path = (link) => {
if (app.i18n.locale === app.i18n.fallbackLocale) {
return `/${link}`
}