projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
501860b
)
fixed typo that messed up the catalyst stash key namespace
John Napiorkowski [Thu, 7 Aug 2014 15:34:48 +0000 (11:34 -0400)]
lib/Catalyst/Middleware/Stash.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Catalyst/Middleware/Stash.pm
b/lib/Catalyst/Middleware/Stash.pm
index
f3bbe68
..
170fa11
100644
(file)
--- a/
lib/Catalyst/Middleware/Stash.pm
+++ b/
lib/Catalyst/Middleware/Stash.pm
@@
-13,7
+13,7
@@
sub PSGI_KEY { 'Catalyst.Stash.v1' };
sub get_stash {
my $env = shift;
- return $env->{PSGI_KEY} ||
+ return $env->{&PSGI_KEY} ||
_init_stash_in($env);
}
@@
-40,7
+40,7
@@
sub _create_stash {
sub _init_stash_in {
my ($env) = @_;
- return $env->{PSGI_KEY} ||=
+ return $env->{&PSGI_KEY} ||=
_create_stash;
}