summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/action.php2
-rw-r--r--lib/router.php4
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php
index 35df03566..715072d1e 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -736,6 +736,8 @@ class Action extends HTMLOutputter // lawsuit
_('Privacy'));
$this->menuItem(common_local_url('doc', array('title' => 'source')),
_('Source'));
+ $this->menuItem(common_local_url('version'),
+ _('Version'));
$this->menuItem(common_local_url('doc', array('title' => 'contact')),
_('Contact'));
$this->menuItem(common_local_url('doc', array('title' => 'badge')),
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));