liquid_feedback_frontend

view app/main/interest/_action/xhr_update.lua @ 1623:22398d337507

Show delegation info only when voting or initiative privilege is given
author bsw
date Sat Feb 06 23:34:53 2021 +0100 (2021-02-06)
parents 2f9e1e882de6
children 4188405c2425
line source
1 local issue_id = param.get("issue_id", atom.integer)
2 local interested = param.get("interested", atom.boolean)
4 slot.set_layout()
6 if not Interest:update(issue_id, app.session.member, interested) then
7 request.set_status("500 Internal Server Error")
8 end

Impressum / About Us