/[Frey]/trunk/lib/Frey/Action.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 /trunk/lib/Frey/Action.pm

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

revision 1178 by dpavlin, Mon Jul 6 20:27:57 2009 UTC revision 1179 by dpavlin, Tue Jul 7 20:12:50 2009 UTC
# Line 423  sub params_form { Line 423  sub params_form {
423                  },                  },
424          });          });
425    
426          $self->title( $self->class->title ) if $self->class->title;          if ( $self->class->can('title') ) {
427                    my $title = eval {
428                            $self->class->title;
429                    };
430                    $self->title( $title ) if defined $title && ! $@;
431            }
432    
433          return ($html,$default) if wantarray;          return ($html,$default) if wantarray;
434          return $html;          return $html;

Legend:
Removed from v.1178  
changed lines
  Added in v.1179

  ViewVC Help
Powered by ViewVC 1.1.26