webmcp

annotate demo-app/app/main/index/_action/logout.lua @ 169:681367a16657

json.array and json.object functions create a new container rather than marking a table
author jbe
date Fri Aug 01 05:12:21 2014 +0200 (2014-08-01)
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