X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=lib%2FChatty.pm;h=80772e7d8948353e1ada7930bf1ecfe2f7f07bb5;hb=afee0e0191a4808f3c9fcc13de5db87a83fc0cb4;hp=5b91943aace5c4fd8a2a6c3d0d4e234fa086c0d1;hpb=9b535163e614abc2ef39b43fa4aef90e644efa41;p=chaz%2Fchatty diff --git a/lib/Chatty.pm b/lib/Chatty.pm index 5b91943..80772e7 100644 --- a/lib/Chatty.pm +++ b/lib/Chatty.pm @@ -52,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