2009-05-01から1ヶ月間の記事一覧

CatalystのChainedアクションとExceptionの関係

一度エントリを書き損ねると更新が止まる悪癖… sub prepare : PathPart('') Chained('/root') CaptureArgs(1) { my ($self, $c, $id) = @_; $c->stash->{ item } = $c->model('Service::Items')->find($id) or MyApp::Exception->throw('item not found'); #…