From 7d00fa8c3cd5696dfc4f768ecdd81465f5240eef Mon Sep 17 00:00:00 2001 From: Aditi Date: Tue, 2 Jul 2013 07:34:05 +0530 Subject: [PATCH] Add '/' at the end of each url. --- mediagoblin/media_types/blog/routing.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mediagoblin/media_types/blog/routing.py b/mediagoblin/media_types/blog/routing.py index 6d2aaa1f..b674042b 100644 --- a/mediagoblin/media_types/blog/routing.py +++ b/mediagoblin/media_types/blog/routing.py @@ -19,28 +19,28 @@ from mediagoblin.tools.routing import add_route #URL mapping for blog-admin, where all the blog posts of a particular blog #are listed. providing the facility of edit, delete and view a particular blog post." add_route('mediagoblin.media_types.blog.blog-admin', \ - '/u//b//blog-admin', 'mediagoblin.media_types.blog.views:blog-admin') + '/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', +add_route('mediagoblin.media_types.blog.blogpost.create', '/u//b//create/', 'mediagoblin.media_types.blog.views:blog_post_edit') #URL mapping for editing an existing blog post. -add_route('mediagoblin.media_types.blog.blogpost.edit', '/u//b//p/blog_post_slug/edit', +add_route('mediagoblin.media_types.blog.blogpost.edit', '/u//b//p/blog_post_slug/edit/', 'mediagoblin.media_types.blog.views:blog_post_edit') #URL mapping for blog-collection-admin, where all the blogs of the user #are listed. providing the facility of edit, delete and view a blog. #view facility redirects to blog-admin page of that particular blog. add_route('mediagoblin.media_types.blog.blog-collection-admin', \ - '/u//blog-collection-admin', 'mediagoblin.media_types.blog.views: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', +add_route('mediagoblin.media_types.blog.create', '/u//b/create/', 'mediagoblin.media_types.blog.views:blog_create') #URL mapping for editing an existing blog. -add_route('mediagoblin.media_types.blog.create', '/u//b//edit', +add_route('mediagoblin.media_types.blog.create', '/u//b//edit/', 'mediagoblin.media_types.blog.views:blog_edit') #route for gallery view of blog posts and blogs. -- 2.25.1