liquid_feedback_frontend

annotate app/main/admin/_action/unit_update.lua @ 1208:24f4c23f76ff

Moved code from draft add action to Draft model
author bsw
date Sat Jul 18 15:58:39 2015 +0200 (2015-07-18)
parents bc6934411019
children fede09736f2b
rev   line source
bsw@595 1 local unit = Unit:by_id(param.get_id()) or Unit:new()
bsw@595 2
bsw@595 3 param.update(unit, "parent_id", "name", "description", "active")
bsw@595 4
bsw@595 5 unit:save()

Impressum / About Us