mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 11:27:06 +00:00
Fix semantic typo for Redirection via Route name
This commit is contained in:
2
iris.go
2
iris.go
@@ -577,7 +577,7 @@ func (s *Framework) URL(routeName string, args ...interface{}) (url string) {
|
|||||||
arguments = arguments[1:]
|
arguments = arguments[1:]
|
||||||
}
|
}
|
||||||
|
|
||||||
if parsedPath := Path(routeName, arguments...); parsedPath != "" {
|
if parsedPath := s.Path(routeName, arguments...); parsedPath != "" {
|
||||||
url = scheme + host + parsedPath
|
url = scheme + host + parsedPath
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user