X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fchatty;a=blobdiff_plain;f=lib%2FChatty.pm;h=ba1bad7d90dcdbead814e13aefbb468b7bb787df;hp=5b91943aace5c4fd8a2a6c3d0d4e234fa086c0d1;hb=c89636c5063ea0bac876bf56248c97ade994cf8c;hpb=9b535163e614abc2ef39b43fa4aef90e644efa41 diff --git a/lib/Chatty.pm b/lib/Chatty.pm index 5b91943..ba1bad7 100644 --- a/lib/Chatty.pm +++ b/lib/Chatty.pm @@ -42,6 +42,7 @@ our $VERSION = '0.01'; __PACKAGE__->config( name => 'Chatty', + using_frontend_proxy => 1, # Disable deprecated behavior needed by old applications disable_component_resolution_regex_fallback => 1, 'Plugin::Authentication' => { @@ -52,8 +53,12 @@ __PACKAGE__->config( }, }, 'Plugin::Session' => { - flash_to_stash => 1 - } + flash_to_stash => 1, + }, + default_view => 'HTML', + 'View::JSON' => { + expose_stash => 'json', + }, ); # Start the application