fix redirect
authorMichael Wallner <mike@php.net>
Wed, 10 Jun 2015 08:01:41 +0000 (10:01 +0200)
committerMichael Wallner <mike@php.net>
Wed, 10 Jun 2015 08:01:41 +0000 (10:01 +0200)
app/Controller/Github/RepoHook.php

index 6bef009e8ca3ecf414e9586bbed1a817bde338d8..96240f678015f891be45df43c623fcafe4fc9757 100644 (file)
@@ -17,7 +17,7 @@ class RepoHook extends Github
                                ]));
                        } else {
                                $this->changeHook($args)->done(function() use($args) {
-                                       $this->redirectBack($args["owner"]."/".$args["repo"]);
+                                       $this->redirectBack($args["owner"]."/".$args["name"]);
                                });
                                $this->github->drain();
                        }