diff --git a/resources/js/Pages/City/Index.vue b/resources/js/Pages/City/Index.vue index dd938206..539b3160 100644 --- a/resources/js/Pages/City/Index.vue +++ b/resources/js/Pages/City/Index.vue @@ -71,7 +71,7 @@ function toggleRegulations() { } function fetchRegulations() { - axios.get('/api/rules/${props.city.country.name}/${props.city.name}') + axios.get(`/api/rules/${props.city.country.name}/${props.city.name}`) .then(response => { rules.pl= response.data.rulesPL rules.en = response.data.rulesEN