]> Dogcows Code - chaz/chatty/blobdiff - lib/Chatty.pm
add supporting documents and help files
[chaz/chatty] / lib / Chatty.pm
index 86585269fcadc5748d6a843c745a8a6b2129ea0e..ba1bad7d90dcdbead814e13aefbb468b7bb787df 100644 (file)
@@ -17,7 +17,6 @@ use Catalyst::Runtime 5.80;
 #                 directory
 
 use Catalyst qw/
-    -Debug
     ConfigLoader
     StackTrace
     Static::Simple
@@ -43,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' => {
@@ -53,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
This page took 0.018807 seconds and 4 git commands to generate.