Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Vue components will now work in subdirs too.
James Coled956c795a46e
diff --git a/resources/assets/js/components/passport/AuthorizedClients.vue b/resources/assets/js/components/passport/AuthorizedClients.vueindex ca4f03d0a0..07aba0030d 100644--- a/resources/assets/js/components/passport/AuthorizedClients.vue+++ b/resources/assets/js/components/passport/AuthorizedClients.vue@@ -94,7 +94,7 @@* Get all of the authorized tokens for the user.*/getTokens() {- axios.get('/oauth/tokens')+ axios.get('./oauth/tokens').then(response => {this.tokens = response.data;});@@ -104,7 +104,7 @@* Revoke the given token.*/revoke(token) {- axios.delete('/oauth/tokens/' + token.id)+ axios.delete('./oauth/tokens/' + token.id).then(response => {this.getTokens();});diff --git a/resources/assets/js/components/passport/Clients.vue b/resources/assets/js/components/passport/Clients.vueindex 70aaccf50a..c47b63a29a 100644--- a/resources/assets/js/components/passport/Clients.vue+++ b/resources/assets/js/components/passport/Clients.vue@@ -270,7 +270,7 @@* Get all of the OAuth clients for the user.*/getClients() {- axios.get('/oauth/clients')+ axios.get('./oauth/clients').then(response => {this.clients = response.data;});@@ -288,7 +288,7 @@*/store() {this.persistClient(- 'post', '/oauth/clients',+ 'post', './oauth/clients',this.createForm, '#modal-create-client');},@@ -309,7 +309,7 @@*/update() {this.persistClient(- 'put', '/oauth/clients/' + this.editForm.id,+ 'put', './oauth/clients/' + this.editForm.id,this.editForm, '#modal-edit-client');},@@ -343,7 +343,7 @@* Destroy the given client.*/destroy(client) {- axios.delete('/oauth/clients/' + client.id)+ axios.delete('./oauth/clients/' + client.id).then(response => {this.getClients();});diff --git a/resources/assets/js/components/passport/PersonalAccessTokens.vue b/resources/assets/js/components/passport/PersonalAccessTokens.vueindex fa7d8e0668..131b2bbc7c 100644--- a/resources/assets/js/components/passport/PersonalAccessTokens.vue+++ b/resources/assets/js/components/passport/PersonalAccessTokens.vue@@ -207,7 +207,7 @@* Get all of the personal access tokens for the user.*/getTokens() {- axios.get('/oauth/personal-access-tokens')+ axios.get('./oauth/personal-access-tokens').then(response => {this.tokens = response.data;});@@ -217,7 +217,7 @@* Get all of the available scopes.*/getScopes() {- axios.get('/oauth/scopes')+ axios.get('./oauth/scopes').then(response => {this.scopes = response.data;});@@ -238,7 +238,7 @@this.form.errors = [];- axios.post('/oauth/personal-access-tokens', this.form)+ axios.post('./oauth/personal-access-tokens', this.form).then(response => {this.form.name = '';this.form.scopes = [];@@ -290,7 +290,7 @@* Revoke the given token.*/revoke(token) {- axios.delete('/oauth/personal-access-tokens/' + token.id)+ axios.delete('./oauth/personal-access-tokens/' + token.id).then(response => {this.getTokens();});