Router is the standard Iris router's public API. With this you can register middleware, view layouts, subdomains, serve static files and even add custom standard iris handlers as normally. This Router is the router instance that came from the parent MVC Application, it's the `app.Party(...)` argume
()
| 265 | // |
| 266 | // Can used at both `BeforeActivation` and `AfterActivation`. |
| 267 | func (c *ControllerActivator) Router() router.Party { |
| 268 | return c.app.Router |
| 269 | } |
| 270 | |
| 271 | // GetRoute returns the first registered route based on the controller's method name. |
| 272 | // It can be used to change the route's name, which is useful for reverse routing |