diff options
author | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-10-22 18:24:11 +0000 |
---|---|---|
committer | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-10-22 18:24:11 +0000 |
commit | 90bcd4d7fddc86d573c0cfc5d84e126ed1df2a83 (patch) | |
tree | ac27425c47fb0b958c9d1e80d6896407beec68ef /lib/Reaction/UI/Controller.pm | |
parent | 58db82a4efc562dacc3d4123a0583e94f8b48db3 (diff) | |
download | reaction-90bcd4d7fddc86d573c0cfc5d84e126ed1df2a83.tar.gz reaction-90bcd4d7fddc86d573c0cfc5d84e126ed1df2a83.zip |
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 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', |