Simplified documentation routing
Change-Id: Ie2e3907133e12b245b8ebb03b18f70af5b8cfe89
diff --git a/lib/Kalamar.pm b/lib/Kalamar.pm
index a47bb2d..322f118 100644
--- a/lib/Kalamar.pm
+++ b/lib/Kalamar.pm
@@ -239,8 +239,7 @@
# Documentation routes
$r->get('/doc')->to('documentation#page', page => 'korap')->name('doc_start');
- $r->get('/doc/:page')->to('documentation#page')->name('doc1');
- $r->get('/doc/*scope/:page')->to('documentation#page')->name('doc2');
+ $r->get('/doc/:scope/:page')->to('documentation#page', scope => undef)->name('doc');
# Contact route
$r->get('/contact')->to('documentation#contact');