diff options
author | matthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-07-24 01:42:34 +0000 |
---|---|---|
committer | matthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-07-24 01:42:34 +0000 |
commit | 8139388160b0a38002b22ff95c3fee3d8380f156 (patch) | |
tree | d7610c5db84c2c996107adb36bca1fe8a2b0b7cb /lib/ComponentUI | |
parent | 2a4c89335368295f0fc55f79d2c8fd5e33afd212 (diff) | |
download | reaction-8139388160b0a38002b22ff95c3fee3d8380f156.tar.gz reaction-8139388160b0a38002b22ff95c3fee3d8380f156.zip |
rclass stuff ripped out of everything but widget classes
Diffstat (limited to 'lib/ComponentUI')
-rw-r--r-- | lib/ComponentUI/Model/TestModel.pm | 8 | ||||
-rw-r--r-- | lib/ComponentUI/View/Site.pm | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/lib/ComponentUI/Model/TestModel.pm b/lib/ComponentUI/Model/TestModel.pm index 3d633f3..42ef181 100644 --- a/lib/ComponentUI/Model/TestModel.pm +++ b/lib/ComponentUI/Model/TestModel.pm @@ -5,9 +5,13 @@ use aliased 'Catalyst::Model::Reaction::InterfaceModel::DBIC'; use Reaction::Class; -class TestModel is DBIC, which { +use namespace::clean -except => [ qw(meta) ]; +extends DBIC; + + + +__PACKAGE__->meta->make_immutable; -}; __PACKAGE__->config ( diff --git a/lib/ComponentUI/View/Site.pm b/lib/ComponentUI/View/Site.pm index 280b41e..32595dd 100644 --- a/lib/ComponentUI/View/Site.pm +++ b/lib/ComponentUI/View/Site.pm @@ -3,9 +3,13 @@ package ComponentUI::View::Site; use Reaction::Class; use aliased 'Reaction::UI::View::TT'; -class Site is TT, which { +use namespace::clean -except => [ qw(meta) ]; +extends TT; + + + +__PACKAGE__->meta->make_immutable; -}; 1; |