diff options
Diffstat (limited to 'lib/Narwhal.pm')
-rw-r--r-- | lib/Narwhal.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Narwhal.pm b/lib/Narwhal.pm index 0a7a24e..612c2b9 100644 --- a/lib/Narwhal.pm +++ b/lib/Narwhal.pm @@ -1,6 +1,5 @@ package Narwhal; use OX; -use Narwhal::RouteBuilder::HTTPMethod; with 'OX::Role::WithAppRoot'; @@ -41,7 +40,7 @@ component Kioku => 'Narwhal::Component::Model', ( extra_args => depends_on('/Config/kioku_extra_args'), ); -router as { +router ['Narwhal::RouteBuilder::HTTPMethod'], as { route '/' => 'redirect.permanent', ( to => '/page/main', ); |