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 {
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},