]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch '0.7.x' into 0.8.x
authorSarven Capadisli <csarven@controlyourself.ca>
Fri, 3 Apr 2009 21:47:39 +0000 (21:47 +0000)
committerSarven Capadisli <csarven@controlyourself.ca>
Fri, 3 Apr 2009 21:47:39 +0000 (21:47 +0000)
1  2 
lib/router.php

diff --combined lib/router.php
index 67b8b8ae6e9515324fda9ac39017cb13f43a55c8,6fb2f94872cbbc3386ecceaad00bc21349cd6352..060253eb54dd3fc943ec5c666c2a305eb69257c5
@@@ -107,6 -107,9 +107,9 @@@ class Route
              $m->connect('main/'.$a, array('action' => $a));
          }
  
+         $m->connect('main/sup/:seconds', array('action' => 'sup'),
+                     array('seconds' => '[0-9]+'));
          $m->connect('main/tagother/:id', array('action' => 'tagother'));
  
          // these take a code
                      array('action' => 'deletenotice'),
                      array('notice' => '[0-9]+'));
  
 +        // conversation
 +
 +        $m->connect('conversation/:id',
 +                    array('action' => 'conversation'),
 +                    array('id' => '[0-9]+'));
 +
          $m->connect('message/new', array('action' => 'newmessage'));
          $m->connect('message/new?to=:to', array('action' => 'newmessage'), array('to' => '[A-Za-z0-9_-]+'));
          $m->connect('message/:message',