|
@@ -18,7 +18,7 @@ function print(scope) {
|
|
|
looper(scope);
|
|
|
for (cardEdit of $('.card-edit')) {
|
|
|
const id = $($($(cardEdit).parents()[1]).children()[0]).children()[0].innerHTML;
|
|
|
- $(cardEdit).attr('href', RouteService.path('edit', {id: id}));
|
|
|
+ $(cardEdit).attr('href', RouterService.path('edit', {id: id}));
|
|
|
}
|
|
|
PR.prettyPrint();
|
|
|
}
|
|
@@ -34,7 +34,7 @@ function selectCard(card) {
|
|
|
$('#modal-title').html(data.title);
|
|
|
$('#modal-content').html(data.content.toHTML())
|
|
|
$('#modal-delete').attr('data-id', id);
|
|
|
- $('#modal-edit').attr('href', RouteService.path('edit', {id: id}));
|
|
|
+ $('#modal-edit').attr('href', RouterService.path('edit', {id: id}));
|
|
|
PR.prettyPrint();
|
|
|
init.modal.open();
|
|
|
}
|