summaryrefslogtreecommitdiff
path: root/src/http/feed.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/feed.go')
-rw-r--r--src/http/feed.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/feed.go b/src/http/feed.go
index eb72464..676d376 100644
--- a/src/http/feed.go
+++ b/src/http/feed.go
@@ -4,9 +4,9 @@ import (
"fmt"
"net/http"
- "github.com/gorilla/feeds"
"dev.mediocregopher.com/mediocre-blog.git/src/http/apiutil"
"dev.mediocregopher.com/mediocre-blog.git/src/post"
+ "github.com/gorilla/feeds"
)
func (a *api) renderFeedHandler() http.Handler {
@@ -53,7 +53,7 @@ func (a *api) renderFeedHandler() http.Handler {
feed.Updated = post.LastUpdatedAt
}
- postURL := a.postURL(post.ID, true)
+ postURL := a.urlBuilder.Post(post.ID).Absolute().String()
item := &feeds.Item{
Title: post.Title,