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 { ...@@ -167,7 +167,7 @@ func (app *App) FilterParam(param string, filter http.HandlerFunc) *App {
167 } 167 }
168 168
169 func (app *App) FilterPrefixPath(path string, filter http.HandlerFunc) *App { 169 func (app *App) FilterPrefixPath(path string, filter http.HandlerFunc) *App {
170 app.Handlers.FilterParam(path, filter) 170 app.Handlers.FilterPrefixPath(path, filter)
171 return app 171 return app
172 } 172 }
173 173
...@@ -205,7 +205,7 @@ func FilterParam(param string, filter http.HandlerFunc) *App { ...@@ -205,7 +205,7 @@ func FilterParam(param string, filter http.HandlerFunc) *App {
205 } 205 }
206 206
207 func FilterPrefixPath(path string, filter http.HandlerFunc) *App { 207 func FilterPrefixPath(path string, filter http.HandlerFunc) *App {
208 BeeApp.FilterParam(path, filter) 208 BeeApp.FilterPrefixPath(path, filter)
209 return BeeApp 209 return BeeApp
210 } 210 }
211 211
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!