[Catalyst] Local action in controller not mapping to template

Anne Brown lovallama at gmail.com
Sun Apr 19 13:13:47 GMT 2009


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';
	}

Does anyone know what I'm doing wrong?


Anne

-- 
View this message in context: http://www.nabble.com/Local-action-in-controller-not-mapping-to-template-tp23122715p23122715.html
Sent from the Catalyst Web Framework mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090419/2acea942/attachment-0001.htm


More information about the Catalyst mailing list