Skip to content

Commit

Permalink
Improve back button to reduce code duplication and minor UI adjustments
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Aug 1, 2023
1 parent 8217c8f commit 2d96686
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion resources/models/automationrule.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
'form' => [
'toolbar' => [
'buttons' => [
'back' => ['label' => 'lang:admin::lang.button_icon_back', 'class' => 'btn btn-outline-secondary', 'href' => 'igniter/automation/automations'],
'save' => [
'label' => 'lang:admin::lang.button_save',
'class' => 'btn btn-primary',
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Controllers/Automations.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Automations extends \Igniter\Admin\Classes\AdminController
],
'preview' => [
'title' => 'lang:admin::lang.form.preview_title',
'redirect' => 'igniter/automation/automations',
'back' => 'igniter/automation/automations',
],
'delete' => [
'redirect' => 'igniter/automation/automations',
Expand Down

0 comments on commit 2d96686

Please sign in to comment.