webmcp

annotate demo-app/app/main/index/_action/logout.lua @ 67:937bbe05098c

Bugfix regarding compatibility with Lua 5.2:
return _M at end of mondelefant.lua
author jbe
date Tue Apr 17 15:39:27 2012 +0200 (2012-04-17)
parents 9fdfb27f8e67
children
rev   line source
jbe/bsw@0 1 if app.session then
jbe/bsw@0 2 app.session:destroy()
jbe/bsw@0 3 slot.put_into("notice", _"Logout successful")
jbe/bsw@0 4 end

Impressum / About Us