Devo Coran wrote:
> but the problem is it keeps going to 
> /end
> MyApp::View::TT->process 
>   

You probably want a different end action in this controller:

   sub end :Private {
      my ($self, $c) = @_;
      $c->detach($c->view('Static'));
   }


RenderView (which I assume you are using for the end action in the Root
controller) will try to render the template if the following conditions
aren't met:

    return 1 if $c->req->method eq 'HEAD';
    return 1 if $c->response->body && length( $c->response->body );
    return 1 if scalar @{ $c->error } && !$c->stash->{template};
    return 1 if $c->response->status =~ /^(?:204|3\d\d)$/;


Since you don't want a template rendering, but you don't meet any of
these conditions, you need your own end action.

Regards,
Jonathan Rockway


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to