Set a default template for the Subscription role.

use WebGUI::Mail::Send, too.
This commit is contained in:
Colin Kuskie 2010-04-06 18:57:55 -07:00
parent 54ea1f66e1
commit 1860408b62

View file

@ -33,6 +33,7 @@ property subscriptionTemplateId => (
namespace => \&_subscriptionTemplateId_namespace,
label => ["Email Template", 'Role_Subscribable'],
hoverHelp => ["Email Template help", 'Role_Subscribable'],
default => 'limMkk80fMB3fqNZVf162w',
);
sub _subscriptionTemplateId_namespace {
my $self = shift;
@ -44,6 +45,8 @@ property skipNotification => (
fieldType => 'yesNo',
);
use WebGUI::Mail::Send;
=head1 NAME
WebGUI::Role::Asset::Subscribable - Let users subscribe to your asset