Skip to content

Commit

Permalink
Added fix for hardcoded link
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxwilko committed Feb 17, 2025
1 parent 22d04ef commit 3feecb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/backend/behaviors/formcontroller/create.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class="btn btn-default">
<?= e(trans('backend::lang.form.create_and_close')); ?>
</button>
<span class="btn-text">
or <a href="<?= Backend::url('jaxwilko/test/tests') ?>"><?= e(trans('backend::lang.form.cancel')); ?></a>
or <a href="<?= Backend::url($formConfig->defaultRedirect) ?>"><?= e(trans('backend::lang.form.cancel')); ?></a>
</span>
</div>
</div>
Expand Down

0 comments on commit 3feecb6

Please sign in to comment.