Attempt #1 to get Roles working with Definition sugar.
This commit is contained in:
parent
a725942c17
commit
dd63819fe0
2 changed files with 2 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ package WebGUI::Asset::Wobject::Collaboration;
|
|||
#-------------------------------------------------------------------
|
||||
|
||||
use strict;
|
||||
use Moose;
|
||||
use WebGUI::Definition::Asset;
|
||||
extends 'WebGUI::Asset::Wobject';
|
||||
define assetName => ['assetName', 'Asset_Collaboration'];
|
||||
|
|
@ -451,6 +452,7 @@ property postReceivedTemplateId => (
|
|||
default => 'default_post_received1',
|
||||
);
|
||||
|
||||
with 'WebGUI::Role::Asset::RssFeed';
|
||||
|
||||
use WebGUI::Group;
|
||||
use WebGUI::HTML;
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ package WebGUI::Definition;
|
|||
=cut
|
||||
|
||||
use 5.010;
|
||||
use Moose;
|
||||
use Moose::Exporter;
|
||||
use feature ();
|
||||
use namespace::autoclean;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue