[tor-commits] [donate/master] We only want one home.

peterh at torproject.org peterh at torproject.org
Mon Dec 31 18:59:48 UTC 2018


commit b463199429201ccf018257d8bded6733e71b3c3d
Author: Peter Haight <peterh at giantrabbit.com>
Date:   Fri Dec 21 15:14:22 2018 -0800

    We only want one home.
    
    I'm not sure exactly what will happen if we name two routes "home", but
    I think links might go to the second one and we just want it to always
    go to /.
    
    Issue #37989
---
 src/routes.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/routes.php b/src/routes.php
index 7b57635c..706666c4 100644
--- a/src/routes.php
+++ b/src/routes.php
@@ -8,7 +8,7 @@ $app->get('/', function ($request, $response, $args) {
 $app->get('/H', function ($request, $response, $args) {
   $controller = new \Tor\DonateController($this);
   return $controller->index($request, $response, $args);
-})->setName('home');
+});
 
 $app->get('/campaign-totals', function($request, $response, $args) {
   $controller = new \Tor\CampaignController($this);





More information about the tor-commits mailing list