aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/feed.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/views/feed.py')
-rw-r--r--src/web/views/feed.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/web/views/feed.py b/src/web/views/feed.py
index 87b47da1..6bc4afe1 100644
--- a/src/web/views/feed.py
+++ b/src/web/views/feed.py
@@ -82,6 +82,9 @@ def feed_pub(feed_id=None):
"""
Presents details of a pubic feed.
"""
+ feed = FeedController(None).get(id=feed_id)
+ if feed.private:
+ return render_template('errors/404.html'), 404
return feed_view(feed_id, None)
bgstack15