Refactoring: added controlled middleware and changed response class
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<h2><?= t('Calendar settings') ?></h2>
|
||||
</div>
|
||||
<section>
|
||||
<form method="post" action="<?= $this->url->href('config', 'calendar') ?>" autocomplete="off">
|
||||
<form method="post" action="<?= $this->url->href('config', 'save', array('redirect' => 'calendar')) ?>" autocomplete="off">
|
||||
|
||||
<?= $this->form->csrf() ?>
|
||||
|
||||
@@ -31,4 +31,4 @@
|
||||
<button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user