aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ComponentUI/Controller/TestModel/Foo.pm
diff options
context:
space:
mode:
authorgroditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-10-22 18:24:11 +0000
committergroditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-10-22 18:24:11 +0000
commit90bcd4d7fddc86d573c0cfc5d84e126ed1df2a83 (patch)
treeac27425c47fb0b958c9d1e80d6896407beec68ef /lib/ComponentUI/Controller/TestModel/Foo.pm
parent58db82a4efc562dacc3d4123a0583e94f8b48db3 (diff)
downloadreaction-90bcd4d7fddc86d573c0cfc5d84e126ed1df2a83.tar.gz
reaction-90bcd4d7fddc86d573c0cfc5d84e126ed1df2a83.zip
first part of fix for attributes and roles mess. metclass coompat bug still lurks
Diffstat (limited to 'lib/ComponentUI/Controller/TestModel/Foo.pm')
-rw-r--r--lib/ComponentUI/Controller/TestModel/Foo.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ComponentUI/Controller/TestModel/Foo.pm b/lib/ComponentUI/Controller/TestModel/Foo.pm
index 8730432..d9f3659 100644
--- a/lib/ComponentUI/Controller/TestModel/Foo.pm
+++ b/lib/ComponentUI/Controller/TestModel/Foo.pm
@@ -1,7 +1,7 @@
package ComponentUI::Controller::TestModel::Foo;
-use base 'Reaction::UI::Controller::Collection::CRUD';
use Reaction::Class;
+BEGIN { extends 'Reaction::UI::Controller::Collection::CRUD'; }
use aliased 'Reaction::UI::ViewPort::SearchableListViewContainer';
use aliased 'ComponentUI::TestModel::Foo::SearchSpec';
@@ -67,9 +67,9 @@ override _build_action_viewport_args => sub {
};
sub object : Chained('base') PathPart('id') CaptureArgs(1) {
- my ($self, $c, $object) = @_;
- $self->next::method($c, $object);
- # just as failing use case
+ my ($self, $c, $object) = @_;
+ $self->next::method($c, $object);
+ # just as failing use case
}
1;