In WebApp::Controller::SomeController: 

This works: 


    sub index : Private {} # maps to WebApp/root/src/somecontroller/index 

This doesn't work: 


    sub something : Local {} # doesn't map to
WebApp/root/src/somecontroller/something (yes, it exists) 

Nor does this: 

    sub something : Local { 
        my ( $self, $c ) = @_; 
        $c->stash->{template}='SomeController/something';
    } 

The templates (index and something) are here:

       c:/webs/webapp/www/WebApp/root/src/somecontroller/

Apache says:

       File does not exist: c:/webs/webapp/www/somecontroller/

Does anyone know what I'm doing wrong?


Anne 


P.S.

I had problems with the original post and had to delete.  I appologize for
any inconvenience.



-- 
View this message in context: 
http://www.nabble.com/Local-action-in-controller-not-mapping-to-template-%28retry%29-tp23123769p23123769.html
Sent from the Catalyst Web Framework mailing list archive at Nabble.com.
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to