pulling in changes from trunk
groditi [Tue, 8 Jan 2008 00:52:08 +0000 (00:52 +0000)]
lib/Reaction/UI/Controller/Collection.pm
lib/Reaction/UI/Controller/Collection/CRUD.pm

index d907de4..2b35ac5 100644 (file)
@@ -52,8 +52,7 @@ sub object :Chained('base') :PathPart('id') :CaptureArgs(1) {
 
 sub view :Chained('object') :Args(0) {
   my ($self, $c) = @_;
-  my $object :Stashed;
-  $c->forward(basic_page => [{model => $object}]);
+  $c->forward(basic_page => [{ model => $c->stash->{object} }]);
 }
 
 sub basic_page : Private {
index 3d04c1f..877f118 100644 (file)
@@ -96,9 +96,6 @@ sub basic_model_action :Private {
 
   my $cat_action_name = $c->stack->[-2]->name;
   my $im_action_name  = join('', (map{ ucfirst } split('_', $cat_action_name)));
-  $c->log->debug($cat_action_name);
-  $c->log->debug($self->action_viewport_map->{$cat_action_name});
-  $c->log->debug(keys %{$self->action_viewport_map});
   return $self->push_viewport
     (
      $self->action_viewport_map->{$cat_action_name},