changeset 2714:8bdd34c2cb74

Now user is redirected to modified ticket on clicking update button
author Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
date Wed, 13 Aug 2014 22:55:33 +0530
parents c9baa61473a9
children 9db0a5f3a6f8
files MoinMoin/items/ticket.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/items/ticket.py	Sun Aug 10 01:59:26 2014 +0530
+++ b/MoinMoin/items/ticket.py	Wed Aug 13 22:55:33 2014 +0530
@@ -189,7 +189,7 @@
                 except AccessDenied:
                     abort(403)
                 else:
-                    return redirect(url_for('.show_item', item_name=self.name))
+                    return redirect(url_for('.show_item', item_name=self.fqname))
 
         # XXX When creating new item, suppress the "foo doesn't exist. Create it?" dummy content
         data_rendered = None if is_new else Markup(self.content._render_data())