changeset 3354:3f2e51a2dd08

ActionBase: use do_show to honour request.rev
author Johannes Berg <johannes AT sipsolutions DOT net>
date Thu, 20 Mar 2008 16:13:54 +0100
parents 8e615ef236e2
children 19a7a6efaa21
files MoinMoin/action/__init__.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/__init__.py	Thu Mar 20 16:03:11 2008 +0100
+++ b/MoinMoin/action/__init__.py	Thu Mar 20 16:13:54 2008 +0100
@@ -155,16 +155,16 @@
     def render_msg(self, msg, msgtype):
         """ Called to display some message (can also be the action form) """
         self.request.theme.add_msg(msg, msgtype)
-        self.page.send_page()
+        do_show(self.pagename, self.request)
 
     def render_success(self, msg, msgtype):
         """ Called to display some message when the action succeeded """
         self.request.theme.add_msg(msg, msgtype)
-        self.page.send_page()
+        do_show(self.pagename, self.request)
 
     def render_cancel(self):
         """ Called when user has hit the cancel button """
-        self.page.send_page() # we don't tell user he has hit cancel :)
+        do_show(self.pagename, self.request)
 
     def render(self):
         """ Render action - this is the main function called by action's