diff --git a/app/Http/Controllers/TableEditController.php b/app/Http/Controllers/TableEditController.php index f267b57..36b3325 100644 --- a/app/Http/Controllers/TableEditController.php +++ b/app/Http/Controllers/TableEditController.php @@ -59,7 +59,7 @@ class TableEditController extends Controller session()->forget($tableModel->draftSessionKey); - return redirect($tableModel->viewRoute); + return redirect($tableModel->draftRoute); } #region Draft tabs diff --git a/resources/views/table/propose/layout.blade.php b/resources/views/table/propose/layout.blade.php index 0ed2a22..14235bb 100644 --- a/resources/views/table/propose/layout.blade.php +++ b/resources/views/table/propose/layout.blade.php @@ -22,7 +22,7 @@ if (!isset($tab) || $tab == '') $tab = 'edit-rows'; @icon(fa-trash-o fa-pr, sr:Discard){{-- - --}}Discard + --}}Clear Changes @icon(fa-reply, sr:Back to Table)