/[Arh]/lib/Arh/View/UnitPictures.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/Arh/View/UnitPictures.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 29 by dpavlin, Mon Dec 10 15:16:52 2007 UTC revision 30 by dpavlin, Mon Dec 10 15:51:52 2007 UTC
# Line 130  template 'new_picture' => sub { Line 130  template 'new_picture' => sub {
130  template 'fragment' => sub {  template 'fragment' => sub {
131          my ( $self, $unit ) = @_;          my ( $self, $unit ) = @_;
132    
133          warn "## unit = ", dump( $unit );          #warn "## unit = ", dump( $unit );
134    
135          my $unitpictures = Arh::Model::UnitPictureCollection->new;          my $unitpictures = Arh::Model::UnitPictureCollection->new;
136          $unitpictures->limit( column => 'unit', value => $unit->id );          $unitpictures->limit( column => 'unit', value => $unit->id );

Legend:
Removed from v.29  
changed lines
  Added in v.30

  ViewVC Help
Powered by ViewVC 1.1.26