53f917c9 by Jason Lee

Fix wrong method name call for FilterPrefixPath.

1 parent c6d4eece
Showing 1 changed file with 2 additions and 2 deletions
......@@ -167,7 +167,7 @@ func (app *App) FilterParam(param string, filter http.HandlerFunc) *App {
}
func (app *App) FilterPrefixPath(path string, filter http.HandlerFunc) *App {
app.Handlers.FilterParam(path, filter)
app.Handlers.FilterPrefixPath(path, filter)
return app
}
......@@ -205,7 +205,7 @@ func FilterParam(param string, filter http.HandlerFunc) *App {
}
func FilterPrefixPath(path string, filter http.HandlerFunc) *App {
BeeApp.FilterParam(path, filter)
BeeApp.FilterPrefixPath(path, filter)
return BeeApp
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!