Skip to content

Commit

Permalink
Stay on update view after adding a micro-update
Browse files Browse the repository at this point in the history
  • Loading branch information
hvelarde committed Aug 29, 2014
1 parent 04f6c45 commit b8443b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/collective/liveblog/browser/add_microupdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ def render(self):
msg = _(u'Item published.')
api.portal.show_message(msg, self.request)

self.request.response.redirect(self.context.absolute_url())
update_url = self.context.absolute_url() + '/update'
self.request.response.redirect(update_url)

0 comments on commit b8443b4

Please sign in to comment.