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

Redirect to another controller #18

Closed
littleearth opened this issue Nov 24, 2015 · 2 comments
Closed

Redirect to another controller #18

littleearth opened this issue Nov 24, 2015 · 2 comments

Comments

@littleearth
Copy link

Hi, Is the following possible

2 controllers
/customers
/orders

Could the customer controller be redirected to order controller
eg
/customer/3/orders

Tristan

@fastbike
Copy link
Contributor

You would be better off restating the URL as /orders?customer=3

@littleearth
Copy link
Author

Yeah, understand. Was just a question because it kind of looked like it was possible

FMVCEngine.AddController(TControllerCustomers).AddController(TControllerOrders);

But when you see the code AddController it is not a parent child relationship.

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