diff options
author | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-12-15 21:07:26 +0000 |
---|---|---|
committer | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-12-15 21:07:26 +0000 |
commit | a4f3b11acc91b2ce5a9d89a642c80537697f40d0 (patch) | |
tree | a59e31caa7e47f29fff708e7312fc42f72228921 /lib/Reaction/UI/Controller.pm | |
parent | 273d286edc1da92d568fdb9a77b215f08e7120ff (diff) | |
parent | 90bcd4d7fddc86d573c0cfc5d84e126ed1df2a83 (diff) | |
download | reaction-a4f3b11acc91b2ce5a9d89a642c80537697f40d0.tar.gz reaction-a4f3b11acc91b2ce5a9d89a642c80537697f40d0.zip |
r32221@martha (orig r1249): groditi | 2009-10-22 14:24:11 -0400
first part of fix for attributes and roles mess. metclass coompat bug still lurks
Diffstat (limited to 'lib/Reaction/UI/Controller.pm')
-rw-r--r-- | lib/Reaction/UI/Controller.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Reaction/UI/Controller.pm b/lib/Reaction/UI/Controller.pm index 3ed253c..7147aae 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', |