Enable view sub-directories when using ModuleRouteListener #2867

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
3 participants
Contributor

mpinkston commented Oct 30, 2012

This feature enables the InjectTemplateListener to specify view sub-directories when the ModuleRouteListener is being used.

For example: It allows a controller such as Foo\Controller\SubNamespace\BarController to map to "foo/sub-namespace/bar/(action)"

@mpinkston mpinkston Enable view sub-directories when using ModuleRouteListener
This feature enables the InjectTemplateListener to specify view sub-directories when the ModuleRouteListener is being used.

For example: It allows a controller such as Foo\Controller\SubNamespace\BarController to map to "foo/sub-namespace/bar/(action)"
ac74896
Owner

weierophinney commented Oct 30, 2012

Can you provide some unit tests, please?

@weierophinney weierophinney added a commit that referenced this pull request Oct 31, 2012

@weierophinney weierophinney Merge branch 'hotfix/2867' into develop
Forward port #2867
58c01dd
Contributor

fabiocarneiro commented Nov 25, 2014

@mpinkston argh, dont think removing the first 2 elements is a good idea. I'm working with submodules in the second element instead of in the 3rd like you're doing and it does not work for me even with proper setting in router __NAMESPACE__ index.

Module/Submodule/Controller

instead of

Module/Controller/Submodule.

@weierophinney you merged this :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment