mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
remove the complicated fallback handlers, that didn't work and not approve the coblexity addition of the https://github.com/kataras/iris/pull/919, RouteExists accepts first argument the Context, add new AllowMethods per party and fix cors by 048e2be034 https://github.com/kataras/iris/issues/922, rel: https://github.com/iris-contrib/middleware/issues/36, https://github.com/iris-contrib/middleware/issues/34, https://github.com/iris-contrib/middleware/issues/32, https://github.com/iris-contrib/middleware/issues/30, https://github.com/kataras/iris/pull/909
Former-commit-id: 5576c44b64014fb00dd79e618b815b5f52b705e4
This commit is contained in:
@@ -176,13 +176,6 @@ func (app *Application) Handle(controller interface{}) *Application {
|
||||
return app
|
||||
}
|
||||
|
||||
// Fallback is an alias to `app.Router.Fallback(handlers...)`
|
||||
//
|
||||
// See `core/router#Party.Fallback`
|
||||
func (app *Application) Fallback(handlers ...context.Handler) {
|
||||
app.Router.Fallback(handlers...)
|
||||
}
|
||||
|
||||
// Clone returns a new mvc Application which has the dependencies
|
||||
// of the current mvc Mpplication's dependencies.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user