Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If the RenderPage method's arg contains folder path like "aaa/bbb", then... #29

Open
jinsikui opened this issue Dec 10, 2013 · 1 comment

Comments

@jinsikui
Copy link

I call the @renderpage("aaa/bbb") in a template at location "Views/Main/Index.cshtml"
I suppose this call to include the child page in "Views/Main/aaa/bbb.cshtml" or "Views/Shared/aaa/bbb.cshtml"(just like asp.net mvc do), but in RazorMachine it never seach "Views/Shared/aaa/bbb.cshtml", it only search "Views/Shared/bbb.cshtml" so is not the right path.
if the arg to @renderpage contains folder path, this happens. Can you fix it for me?

thanks very much.

@jlamfers
Copy link
Owner

I added a test method in TemplateTest that tests your issue. That unit test succeeds. Could you hand me some code that fails?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants