From 0574d30d9a0e362f97f34f3330911ee5568c8897 Mon Sep 17 00:00:00 2001 From: Aditi Date: Fri, 19 Jul 2013 19:33:49 +0530 Subject: [PATCH] temperory url change for creating a new blog. --- mediagoblin/media_types/blog/routing.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mediagoblin/media_types/blog/routing.py b/mediagoblin/media_types/blog/routing.py index 5c141c31..1d297182 100644 --- a/mediagoblin/media_types/blog/routing.py +++ b/mediagoblin/media_types/blog/routing.py @@ -22,8 +22,8 @@ from mediagoblin.tools.routing import add_route # '/u//b//blog-admin/', 'mediagoblin.media_types.blog.views:blog-admin') #URL mapping for creating a new blog post. -add_route('mediagoblin.media_types.blog.blogpost.create', '/u//b//create/', - 'mediagoblin.media_types.blog.views:blog_post_edit') +add_route('mediagoblin.media_types.blog.blogpost.create', '/u//b/blogpost/create/', + 'mediagoblin.media_types.blog.views:blogpost_create') #URL mapping for editing an existing blog post. add_route('mediagoblin.media_types.blog.blogpost.edit', '/u//b//p/blog_post_slug/edit/', @@ -45,8 +45,6 @@ add_route('mediagoblin.media_types.blog.create', '/u//b/create/', 'mediagoblin.media_types.blog.views:blog_edit') - - #URL mapping for editing an existing blog. add_route('mediagoblin.media_types.blog.edit', '/u//b//edit/', 'mediagoblin.media_types.blog.views:blog_edit') -- 2.25.1