mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
fix mvc/ideas/1/main.go->AfterActivation
Former-commit-id: bf3d8227793fba76f0f7349d82d1200275ac9147
This commit is contained in:
@@ -147,6 +147,8 @@ func (c *ExampleController) BeforeActivation(b mvc.BeforeActivation) {
|
||||
b.Handle("GET", "/mypath/{param}", "DoIt", optionalMiddlewareHere...)
|
||||
}
|
||||
|
||||
func (c *ExampleController) AfterActivation(a mvc.AfterActivation)
|
||||
// After activation, all dependencies are set-ed - so read only access on them
|
||||
// but still possible to add custom controller or simple standard handlers.
|
||||
func (c *ExampleController) AfterActivation(a mvc.AfterActivation) {}
|
||||
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user