projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
3f1b003
)
added the ctx parameter
André Walker [Thu, 4 Aug 2011 23:35:59 +0000 (20:35 -0300)]
lib/Catalyst/IOC/Service/WithParameters.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/IOC/Service/WithParameters.pm
b/lib/Catalyst/IOC/Service/WithParameters.pm
index
7abe5ac
..
1931c11
100644
(file)
--- a/
lib/Catalyst/IOC/Service/WithParameters.pm
+++ b/
lib/Catalyst/IOC/Service/WithParameters.pm
@@
-4,7
+4,10
@@
use Moose::Role;
with 'Bread::Board::Service::WithParameters' => { excludes => '_build_parameters' };
sub _build_parameters {
- return {
+ {
+ ctx => {
+ required => 1,
+ },
accept_context_args => {
isa => 'ArrayRef',
required => 1,