Back to index

moin  1.9.0~rc2
Functions
MoinMoin.action.Save Namespace Reference

Functions

def execute

Function Documentation

def MoinMoin.action.Save.execute (   pagename,
  request 
)

Definition at line 11 of file Save.py.

00011 
00012 def execute(pagename, request):
00013     if not request.user.may.read(pagename):
00014         Page(request, pagename).send_page()
00015     else:
00016         rev = request.rev or 0
00017         Page(request, pagename, rev=rev).send_raw(content_disposition='attachment')