From 35966afad0028ab79600f0bf60679cca8ca6baab Mon Sep 17 00:00:00 2001 From: Bernat Date: Fri, 25 Oct 2019 14:06:32 +0200 Subject: [PATCH] refactor travel --- modules/travel/front/basic-data/index.html | 8 ++++---- modules/travel/front/card/index.js | 2 +- modules/travel/front/log/index.html | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/travel/front/basic-data/index.html b/modules/travel/front/basic-data/index.html index b85168ac32..557a243c75 100644 --- a/modules/travel/front/basic-data/index.html +++ b/modules/travel/front/basic-data/index.html @@ -1,4 +1,4 @@ - + @@ -38,7 +38,7 @@ @@ -46,7 +46,7 @@ diff --git a/modules/travel/front/card/index.js b/modules/travel/front/card/index.js index b67902e169..40d3c0f51c 100644 --- a/modules/travel/front/card/index.js +++ b/modules/travel/front/card/index.js @@ -30,7 +30,7 @@ export default class Controller { getCard() { const params = {filter: this.filter}; - this.$http.get(`/api/Travels/${this.$stateParams.id}`, {params}).then(response => { + this.$http.get(`Travels/${this.$stateParams.id}`, {params}).then(response => { this.travel = response.data; }); } diff --git a/modules/travel/front/log/index.html b/modules/travel/front/log/index.html index 48279d6480..8b442f671d 100644 --- a/modules/travel/front/log/index.html +++ b/modules/travel/front/log/index.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file