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
Use parent path and controller in child nodes (routes.conf) #137
Comments
@azbshiri I'm glad to hear, you liked aah framework. Nested routes config works like this:
While composing this answer, I thought below enhancement:
Feel free suggest and recommend improvements to routes config and any area in the aah. |
@azbshiri I have described above, how its currently processing the Can you propose the improve the improvements on I'm looking forward to your inputs and contributions. |
Also I will add following enhancement too.
With Your second example will turn into:
|
* path - if its not provided in child route inherit parent use as-is. * controller - if its not provided in the child route inherit parent use as-is.
@azbshiri I have just added these two enhancements. Its available on aah edge version, you can give it try and share your feedback.
Once you installed aah version Now routes config become (your second example from the question):
|
Thanks for your attention and fast response. I'll check that and let you know. |
Hey, I was looking through your framework and I really liked it. Is it possible to do this? or any other better ways to remove duplication.
Expected:
Can Do: (It works now but not DRY)
Actual:
The text was updated successfully, but these errors were encountered: