summaryrefslogtreecommitdiffstats
path: root/helpers/url.go
diff options
context:
space:
mode:
authorbogem <albertnigma@gmail.com>2016-11-24 20:30:17 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-01-02 17:01:58 +0100
commit4352156a2730eddda6b05b66b73d910e4ac9abff (patch)
tree09a179c5566b43aeff6c82a53d1e6717756e0dd4 /helpers/url.go
parent52976da0ec67361556538e41fe18286ea4dfe878 (diff)
commands, helpers: Fix docs
Diffstat (limited to 'helpers/url.go')
-rw-r--r--helpers/url.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/url.go b/helpers/url.go
index 68079ce20..2f35b059f 100644
--- a/helpers/url.go
+++ b/helpers/url.go
@@ -147,7 +147,7 @@ func MakePermalink(host, plink string) *url.URL {
return base
}
-// AbsURL creates a absolute URL from the relative path given and the BaseURL set in config.
+// AbsURL creates an absolute URL from the relative path given and the BaseURL set in config.
func (p *PathSpec) AbsURL(in string, addLanguage bool) string {
url, err := url.Parse(in)
if err != nil {