Verified Commit 70b49c3a authored by Korko's avatar Korko
Browse files

Pass all routes instead of specifying each of them from blade to js

parent 2c2d1362
Pipeline #381874 failed with stages
in 14 seconds
...@@ -18,8 +18,6 @@ window.app = new Vue({ ...@@ -18,8 +18,6 @@ window.app = new Vue({
mixins: [VueFetcher(DearSantaForm)], mixins: [VueFetcher(DearSantaForm)],
i18n, i18n,
data: { data: {
routes: { routes: window.global.routes
contactUrl: window.global.routes.contactUrl
}
} }
}); });
...@@ -18,11 +18,6 @@ window.app = new Vue({ ...@@ -18,11 +18,6 @@ window.app = new Vue({
mixins: [VueFetcher(OrganizerForm)], mixins: [VueFetcher(OrganizerForm)],
i18n, i18n,
data: { data: {
routes: { routes: window.global.routes
fetchStateUrl: window.global.routes.fetchStateUrl,
deleteUrl: window.global.routes.deleteUrl,
csvInitUrl: window.global.routes.csvInitUrl,
csvFinalUrl: window.global.routes.csvFinalUrl
}
} }
}); });
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment