diff options
author | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-01-08 00:35:11 +0000 |
---|---|---|
committer | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-01-08 00:35:11 +0000 |
commit | 5c42218310ae1bcf7663c30b45194345c4b7d224 (patch) | |
tree | 2f9b4e557bc874e3c439dc6bb4b6cd74585c1e9a /lib/Reaction/UI/Controller/Collection.pm | |
parent | cc44a3371f6bb93dfcc28961004b00064942e27b (diff) | |
parent | e739c9a211e3a55714904f6c75843e8902226214 (diff) | |
download | reaction-5c42218310ae1bcf7663c30b45194345c4b7d224.tar.gz reaction-5c42218310ae1bcf7663c30b45194345c4b7d224.zip |
r15421@deathmachine (orig r452): castaway | 2008-01-01 11:05:57 -0500
Add config example to docs, and mention use of config for window_title etc
r15422@deathmachine (orig r453): castaway | 2008-01-01 11:14:08 -0500
Fix typos in doc
r15423@deathmachine (orig r454): castaway | 2008-01-01 11:21:12 -0500
Add docs about creation of window object
r15424@deathmachine (orig r455): castaway | 2008-01-01 13:21:05 -0500
Update docs to match new ::Controller::Root
r15764@deathmachine (orig r466): matthewt | 2008-01-07 10:48:25 -0500
squelch a warning in Reaction::Class, port from BindLex to Component::ACCEPT_CONTEXT
r15765@deathmachine (orig r467): wreis | 2008-01-07 11:14:58 -0500
port the reaction type system to MooseX::Types
Diffstat (limited to 'lib/Reaction/UI/Controller/Collection.pm')
-rw-r--r-- | lib/Reaction/UI/Controller/Collection.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Reaction/UI/Controller/Collection.pm b/lib/Reaction/UI/Controller/Collection.pm index 2aff23e..d907de4 100644 --- a/lib/Reaction/UI/Controller/Collection.pm +++ b/lib/Reaction/UI/Controller/Collection.pm @@ -45,8 +45,9 @@ sub list :Chained('base') :PathPart('') :Args(0) { sub object :Chained('base') :PathPart('id') :CaptureArgs(1) { my ($self, $c, $key) = @_; - my $object :Stashed = $self->get_collection($c)->find($key); + my $object = $self->get_collection($c)->find($key); confess "Object? what object?" unless $object; # should be a 404. + $c->stash(object => $object); } sub view :Chained('object') :Args(0) { |