temperory url change for creating a new blog.
authorAditi <aditi.iitr@gmail.com>
Fri, 19 Jul 2013 14:03:49 +0000 (19:33 +0530)
committerAditi <aditi.iitr@gmail.com>
Fri, 19 Jul 2013 14:03:49 +0000 (19:33 +0530)
mediagoblin/media_types/blog/routing.py

index 5c141c31833d4b3c1b1b051b18db99f7325d9570..1d297182aec15175451f29946dd7f80a5647a6e8 100644 (file)
@@ -22,8 +22,8 @@ from mediagoblin.tools.routing import add_route
 #      '/u/<string:user>/b/<string:blog_name>/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/<string:user>/b/<string:blog_name>/create/',
-       'mediagoblin.media_types.blog.views:blog_post_edit')
+add_route('mediagoblin.media_types.blog.blogpost.create', '/u/<string:user>/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/<string:user>/b/<string:blog_name>/p/blog_post_slug/edit/',
@@ -45,8 +45,6 @@ add_route('mediagoblin.media_types.blog.create', '/u/<string:user>/b/create/',
        'mediagoblin.media_types.blog.views:blog_edit')
 
 
-
-
 #URL mapping for editing an existing blog.
 add_route('mediagoblin.media_types.blog.edit', '/u/<string:user>/b/<string:blog_slug>/edit/',
        'mediagoblin.media_types.blog.views:blog_edit')