Simplified documentation routing
Change-Id: Ie2e3907133e12b245b8ebb03b18f70af5b8cfe89
diff --git a/t/docnavi.t b/t/docnavi.t
index 5b8447f..c1aa8ea 100644
--- a/t/docnavi.t
+++ b/t/docnavi.t
@@ -11,8 +11,7 @@
push(@{$app->plugins->namespaces}, 'Kalamar::Plugin');
# Establish test route
-$app->routes->get('/doc/:page')->to(cb => sub {})->name('doc1');
-$app->routes->get('/doc/*scope/:page')->to(cb => sub {})->name('doc2');
+$app->routes->get('/doc/:scope/:page')->to(cb => sub {}, scope => undef)->name('doc');
# Load plugin to test
$app->plugin('KalamarPages');