X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FComponent%2FContextClosure.pm;fp=lib%2FCatalyst%2FComponent%2FContextClosure.pm;h=fb2606c5fe6774c01342d052f5d2c440eb207ed8;hb=432c4971046be0d5e2e678371de4d40bf028981d;hp=23e1381dce98c337f0b76c7ecd4866f1fd248bda;hpb=68c660b55f940bd018eccabdb7e3a7d734a7ef30;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Component/ContextClosure.pm b/lib/Catalyst/Component/ContextClosure.pm index 23e1381..fb2606c 100644 --- a/lib/Catalyst/Component/ContextClosure.pm +++ b/lib/Catalyst/Component/ContextClosure.pm @@ -33,7 +33,7 @@ Catalyst::Component::ContextClosure - Moose Role for components which need to cl $ctx->stash(a_closure => $self->make_context_closure(sub { my ($ctx) = @_; $ctx->response->body('body set from closure'); - }, $ctx); + }, $ctx)); } =head1 DESCRIPTION