X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fchatty;a=blobdiff_plain;f=lib%2FChatty.pm;h=80772e7d8948353e1ada7930bf1ecfe2f7f07bb5;hp=86585269fcadc5748d6a843c745a8a6b2129ea0e;hb=30558f981fe131d1ae3cc88ff5fc7f9e910932e9;hpb=ab11c0a9fd7ef63f13a4b78ef3ffde75db43f1a3 diff --git a/lib/Chatty.pm b/lib/Chatty.pm index 8658526..80772e7 100644 --- a/lib/Chatty.pm +++ b/lib/Chatty.pm @@ -17,7 +17,6 @@ use Catalyst::Runtime 5.80; # directory use Catalyst qw/ - -Debug ConfigLoader StackTrace Static::Simple @@ -53,8 +52,12 @@ __PACKAGE__->config( }, }, 'Plugin::Session' => { - flash_to_stash => 1 - } + flash_to_stash => 1, + }, + default_view => 'HTML', + 'View::JSON' => { + expose_stash => 'json', + }, ); # Start the application