Changing name for atom feed view to be more generic than tags.

This commit sponsored by Ben Hutchings.  Thanks, Ben!
This commit is contained in:
Christopher Allan Webber 2013-02-22 15:04:06 -06:00
parent 251db013fd
commit ec3f1012b1
2 changed files with 4 additions and 3 deletions

View File

@ -22,7 +22,8 @@ add_route('mediagoblin.listings.tags_listing',
# Atom feeds:
add_route('mediagoblin.listings.tag_atom_feed', "/tag/<string:tag>/atom/",
"mediagoblin.listings.views:tag_atom_feed")
"mediagoblin.listings.views:atom_feed")
# The all new entries feed
add_route('mediagoblin.listings.atom_feed', '/atom/',
"mediagoblin.listings.views:tag_atom_feed")
"mediagoblin.listings.views:atom_feed")

View File

@ -64,7 +64,7 @@ def tag_listing(request, page):
ATOM_DEFAULT_NR_OF_UPDATED_ITEMS = 15
def tag_atom_feed(request):
def atom_feed(request):
"""
generates the atom feed with the tag images
"""