diff --git a/feeds.py b/feeds.py index a2d38e560e675143496da5956dac569d4d0f68c4..73babe5f2b7ba30696c7afd951d0bb3516883882 100644 --- a/feeds.py +++ b/feeds.py @@ -40,7 +40,7 @@ def feed(handle=None): course['updated'] = updated return Response(render_template('feed.atom', course=course, entries=entries), 200, {'Content-Type': 'application/atom+xml'}) -@app.route('/<handle>/rssfeed') +@app.route('/<handle>/rss') def rss_feed(handle): course = query('SELECT * FROM courses WHERE handle = ? AND visible', handle)[0] formats = query('''SELECT formats.* FROM formats diff --git a/templates/course.html b/templates/course.html index b0e085ef831af826a57632c1f084f1ee5eba409b..f82419e818522e8bf05106faa1857d737d6e21f1 100644 --- a/templates/course.html +++ b/templates/course.html @@ -91,7 +91,7 @@ {% endif %} <ul class="list-inline pull-right"> <li> - <a class="fa fa-rss-square" aria-hidden="true" href="{{url_for('feed', handle=course.handle)}}" style="text-decoration: none"></a> + <a class="fa fa-rss-square" aria-hidden="true" href="{{url_for('rss_feed', handle=course.handle)}}" style="text-decoration: none"></a> </li> {% if ismod() %} <li>