[Rt-commit] r5892 - in commitbit: .

jesse at bestpractical.com jesse at bestpractical.com
Sun Sep 10 18:24:43 EDT 2006


Author: jesse
Date: Sun Sep 10 18:24:42 2006
New Revision: 5892

Added:
   commitbit/lib/CommitBit/Action/CreateProjectMember.pm
Modified:
   commitbit/   (props changed)

Log:
 r27338 at pinglin:  jesse | 2006-09-10 23:24:30 +0100
 Checkpoint


Added: commitbit/lib/CommitBit/Action/CreateProjectMember.pm
==============================================================================
--- (empty file)
+++ commitbit/lib/CommitBit/Action/CreateProjectMember.pm	Sun Sep 10 18:24:42 2006
@@ -0,0 +1,18 @@
+package CommitBit::Action::CreateProjectMember;
+use warnings;
+use strict;
+
+use base qw/CommitBit::Action Jifty::Action::Record::Create/;
+
+sub record_class {'CommitBit::Model::ProjectMember'}
+
+sub arguments {
+    my $self = shift;
+    my $args = $self->SUPER::arguments();
+    
+    $args->{'user'}{'render_as'} = 'Text';
+    
+    return $args;
+}
+
+1;


More information about the Rt-commit mailing list