# directory
use Catalyst qw/
- -Debug
ConfigLoader
StackTrace
Static::Simple
__PACKAGE__->config(
name => 'Chatty',
+ using_frontend_proxy => 1,
# Disable deprecated behavior needed by old applications
disable_component_resolution_regex_fallback => 1,
'Plugin::Authentication' => {
},
},
'Plugin::Session' => {
- flash_to_stash => 1
- }
+ flash_to_stash => 1,
+ },
+ default_view => 'HTML',
+ 'View::JSON' => {
+ expose_stash => 'json',
+ },
);
# Start the application