[Bps-public-commit] r16973 - sd/trunk/lib/App/SD/Model

jesse at bestpractical.com jesse at bestpractical.com
Fri Nov 21 19:41:50 EST 2008


Author: jesse
Date: Fri Nov 21 19:41:49 2008
New Revision: 16973

Modified:
   sd/trunk/lib/App/SD/Model/Ticket.pm

Log:
* Switch back to using a moose attribute for type

Modified: sd/trunk/lib/App/SD/Model/Ticket.pm
==============================================================================
--- sd/trunk/lib/App/SD/Model/Ticket.pm	(original)
+++ sd/trunk/lib/App/SD/Model/Ticket.pm	Fri Nov 21 19:41:49 2008
@@ -6,8 +6,7 @@
 use HTTP::Date;
 
 use constant collection_class => 'App::SD::Collection::Ticket';
-use constant type => 'ticket';
-
+has type => ( default => 'ticket');
 
 sub default_prop_milestone { 
     my $self = shift; 



More information about the Bps-public-commit mailing list