aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/UI/Controller.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Reaction/UI/Controller.pm')
-rw-r--r--lib/Reaction/UI/Controller.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Reaction/UI/Controller.pm b/lib/Reaction/UI/Controller.pm
index 4777ccd..58eb03b 100644
--- a/lib/Reaction/UI/Controller.pm
+++ b/lib/Reaction/UI/Controller.pm
@@ -1,11 +1,11 @@
package Reaction::UI::Controller;
-use base qw(Catalyst::Controller); # Reaction::Object);
-
use Reaction::Class;
use Scalar::Util 'weaken';
use namespace::clean -except => [ qw(meta) ];
+BEGIN { extends 'Catalyst::Controller'; }
+
has context => (is => 'ro', isa => 'Object', weak_ref => 1);
with(
'Catalyst::Component::InstancePerContext',