Base class for controllers we auto-generate
t0m [Wed, 22 Apr 2009 21:36:33 +0000 (22:36 +0100)]
lib/DynamicAppDemo/ControllerBase.pm [new file with mode: 0644]

diff --git a/lib/DynamicAppDemo/ControllerBase.pm b/lib/DynamicAppDemo/ControllerBase.pm
new file mode 100644 (file)
index 0000000..8a84f23
--- /dev/null
@@ -0,0 +1,9 @@
+package DynamicAppDemo::ControllerBase;
+use Moose;
+use namespace::clean -except => 'meta';
+
+# Should not need attributes here, but what the hell..
+BEGIN { extends 'Catalyst::Controller' }
+
+__PACKAGE__->meta->make_immutable;
+