webmcp

annotate demo-app/app/main/index/_action/logout.lua @ 146:7912a05ebc3f

Moved lua_pop(L, 1) call to conditional expression and added documentation in JSON library
author jbe
date Wed Jul 30 20:54:42 2014 +0200 (2014-07-30)
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