summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-22 21:18:03 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-22 21:18:03 +0100
commite53ab5f78164e5637b02b7930825e53f0689ee74 (patch)
treebb5d4b4a120a1d79d1eeda7deeb570f286387144 /lib/Travelynx.pm
parent98822bdbf75ce21f0c54e4be47e1d03bba057e07 (diff)
move munin-stats to a mojolicious command
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index f8f9f1b..1c61919 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -76,6 +76,8 @@ sub startup {
$self->secrets( [ split( qr{:}, $ENV{TRAVELYNX_SECRETS} ) ] );
}
+ push( @{ $self->commands->namespaces }, 'Travelynx::Command' );
+
$self->defaults( layout => 'default' );
$self->config(