Fix linting

This commit is contained in:
Quique Fdez Guerra 2017-12-01 13:48:30 +01:00 committed by GitHub
parent 9d9319ea62
commit d9c89106c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ export default ({ app, store }) => {
'fr': require('~/locales/fr.json')
}
})
app.i18n.path = (link) => {
if (app.i18n.locale === app.i18n.fallbackLocale) {
return `/${link}`