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

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
}