From f506419c8961beaab2d97c300a0f1c115ebc14e6 Mon Sep 17 00:00:00 2001 From: Aditi Date: Wed, 31 Jul 2013 14:10:50 +0530 Subject: [PATCH] Add Url for blog post listing. --- mediagoblin/media_types/blog/routing.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/mediagoblin/media_types/blog/routing.py b/mediagoblin/media_types/blog/routing.py index 2f879d20..b34c8280 100644 --- a/mediagoblin/media_types/blog/routing.py +++ b/mediagoblin/media_types/blog/routing.py @@ -37,11 +37,6 @@ add_route('mediagoblin.media_types.blog.blogpost.edit', add_route('mediagoblin.media_types.blog.blog-collection-admin', \ '/u//blog-collection-admin/', 'mediagoblin.media_types.blog.views:blog-collection-admin') -##URL mapping for creating a new blog. -#add_route('mediagoblin.media_types.blog.create', '/u//b/create/', - #'mediagoblin.media_types.blog.views:blog_create') - - #URL mapping for creating a new blog. add_route('mediagoblin.media_types.blog.create', '/u//b/create/', 'mediagoblin.media_types.blog.views:blog_edit') @@ -51,7 +46,9 @@ add_route('mediagoblin.media_types.blog.create', '/u//b/create/', add_route('mediagoblin.media_types.blog.edit', '/u//b//edit/', 'mediagoblin.media_types.blog.views:blog_edit') -#route for gallery view of blog posts and blogs. +#URL mapping for blog_post_listing view. +add_route('mediagoblin.media_types.blog.blog_post_listing', '/u//b/', + 'mediagoblin.media_types.blog.views:blog_post_listing') -- 2.25.1