From c443dc9808ae1ef22450a9deeee1e5716e737675 Mon Sep 17 00:00:00 2001 From: Makis Maropoulos Date: Sun, 3 Jul 2016 10:38:03 +0200 Subject: [PATCH] Fix semantic typo for Redirection via Route name --- iris.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iris.go b/iris.go index dae55cb9..27371eb4 100644 --- a/iris.go +++ b/iris.go @@ -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 }