Help for this page

Select Code to Download


  1. or download this
    sub create :Chained('base') :PathPart('create')
    :FormConfig('author/edit.conf') {
    ...
            $c->stash(template => 'author/formfu_create.tt2');
    }
    
  2. or download this
    sub base :Chained('/') :PathPart('author') :CaptureArgs(0) {
        my ($self, $c) = @_;
    ...
        $c->stash(rs => $c->stash->{schema}->resultset('Author')->find($id
    +));
    
    }