summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-01-07 17:26:40 -0800
committerEvan Prodromou <evan@status.net>2010-01-07 17:26:40 -0800
commit4a4ac7a1082405621ce8e578099ddb7be329bb38 (patch)
tree21f300dd77ba17426cb5c4cfa95b43935f596e73 /lib/router.php
parent2c33e61b94fca8654c0d543fb0baa164ee86d2c3 (diff)
add a version action to give credit and list plugins
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/router.php b/lib/router.php
index 7ec962460..287d3c79f 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -101,7 +101,9 @@ class Router
'silence', 'unsilence',
'repeat',
'deleteuser',
- 'geocode');
+ 'geocode',
+ 'version',
+ );
foreach ($main as $a) {
$m->connect('main/'.$a, array('action' => $a));