Skip to content

Commit 07664d4

Browse files
committed
Update update.blade.php
1 parent 4747c42 commit 07664d4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

resources/views/update.blade.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
@extends('layouts.updater')
32

43
@Push('updater-body')
@@ -27,8 +26,10 @@
2726

2827
@if($_SERVER['QUERY_STRING'] === 'backups')
2928
<?php Artisan::call('backup:run', ['--only-files' => true]);
30-
header("Location: /?backup-created");
29+
$URL = Route::current()->getName();
30+
header("Location: ".$URL."?backup-created");
3131
exit(); ?>
32+
3233
@endif
3334

3435
@if($_SERVER['QUERY_STRING'] === '')

0 commit comments

Comments
 (0)