From 90bcd4d7fddc86d573c0cfc5d84e126ed1df2a83 Mon Sep 17 00:00:00 2001 From: groditi Date: Thu, 22 Oct 2009 18:24:11 +0000 Subject: first part of fix for attributes and roles mess. metclass coompat bug still lurks --- lib/Reaction/UI/Controller.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Reaction/UI/Controller.pm') 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', -- cgit v1.2.3-54-g00ecf