1
0
mirror of https://github.com/kataras/iris.git synced 2026-06-17 19:13:37 +00:00

Fix semantic typo for Redirection via Route name

This commit is contained in:
Makis Maropoulos
2016-07-03 10:38:03 +02:00
parent d2ec0fa3e4
commit c443dc9808
+1 -1
View File
@@ -577,7 +577,7 @@ func (s *Framework) URL(routeName string, args ...interface{}) (url string) {
arguments = arguments[1:]
}
if parsedPath := Path(routeName, arguments...); parsedPath != "" {
if parsedPath := s.Path(routeName, arguments...); parsedPath != "" {
url = scheme + host + parsedPath
}