no need to duplicate ourselves

This commit is contained in:
Gerasimos Maropoulos 2016-07-26 21:53:52 +03:00
parent 81019aa90d
commit 5f76942b52

View File

@ -798,7 +798,7 @@ func (s *Framework) URL(routeName string, args ...interface{}) (url string) {
return return
} }
srv := s.Servers.Main() srv := s.Servers.Main()
scheme := s.Servers.Main().Scheme() scheme := srv.Scheme()
host := srv.Host() host := srv.Host()
arguments := args[0:] arguments := args[0:]