mirror of
https://github.com/astaxie/beego.git
synced 2025-07-04 09:30:17 +00:00
fix the typo
This commit is contained in:
@ -434,7 +434,7 @@ func (p *ControllerRegister) InsertFilter(pattern string, pos int, filter Filter
|
||||
// add Filter into
|
||||
func (p *ControllerRegister) insertFilterRouter(pos int, mr *FilterRouter) (err error) {
|
||||
if pos < BeforeStatic || pos > FinishRouter {
|
||||
err = fmt.Errorf("can not find your filter postion")
|
||||
err = fmt.Errorf("can not find your filter position")
|
||||
return
|
||||
}
|
||||
p.enableFilter = true
|
||||
|
Reference in New Issue
Block a user