Default to sending X-Catalyst header
Tomas Doran [Tue, 25 Oct 2011 00:57:14 +0000 (17:57 -0700)]
Changes
share/lib/MyApp.pm.tt

diff --git a/Changes b/Changes
index 09c9b06..c78f9ff 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,7 @@
 This file documents the revision history for Perl extension Catalyst-Devel.
 
+        - New apps send an X-Catalyst header by default (this can be
+          disabled by changing the config in the generated app)
         - Fix leaking temporary files in tests. RT#59166
         - Fix generated Makefile.PL to always contain unix style paths,
           even on Win32. RT#65456
index 46ec6d1..c581743 100644 (file)
@@ -39,6 +39,7 @@ __PACKAGE__->config(
     name => '[% name %]',
     # Disable deprecated behavior needed by old applications
     disable_component_resolution_regex_fallback => 1,
+    enable_catalyst_header => 1, # Send X-Catalyst header
 );
 
 # Start the application