liquid_feedback_frontend
annotate app/main/draft/_action/add.lua @ 1234:8288027edb54
Added support for min_admission_time and max_admission_time
author | bsw |
---|---|
date | Fri Dec 04 14:19:28 2015 +0100 (2015-12-04) |
parents | 24f4c23f76ff |
children | 32cc544d5a5b |
rev | line source |
---|---|
bsw@1208 | 1 return Draft:update_content( |
bsw@1208 | 2 app.session.member.id, |
bsw@1208 | 3 param.get("initiative_id", atom.integer), |
bsw@1208 | 4 param.get("formatting_engine"), |
bsw@1208 | 5 param.get("content"), |
bsw@1208 | 6 nil, |
bsw@1208 | 7 param.get("preview") or param.get("edit") |
bsw@1208 | 8 ) |