fixed a bug while generating the addAddress route.
This commit is contained in:
parent
32133a0d05
commit
e2da6000b3
@ -44,10 +44,10 @@
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<!-- TODO why is the route not found? $addPath = $router->path('/address/add'); -->
|
||||
<input type="button" value="Add Address" onclick="addAddress('address/add')">
|
||||
<?php $addAddress = $router->path('address_add'); ?>
|
||||
<input type="button" value="Add Address" onclick="addAddress('<?= $addAddress ?>')">
|
||||
<?php else: ?>
|
||||
Your addresses wil be listed soon …
|
||||
Your addresses will be listed soon …
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user