Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cydrobolt/polr.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/Http/Controllers/UserController.php')
-rw-r--r--app/Http/Controllers/UserController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php
index 2a1a747..45e0c35 100644
--- a/app/Http/Controllers/UserController.php
+++ b/app/Http/Controllers/UserController.php
@@ -47,7 +47,7 @@ class UserController extends Controller {
public function performSignup(Request $request) {
if (env('POLR_ALLOW_ACCT_CREATION') == false) {
- return redirect('index')->with('error', 'Sorry, but registration is disabled.');
+ return redirect(route('index'))->with('error', 'Sorry, but registration is disabled.');
}
$username = $request->input('username');