liquid_feedback_frontend
annotate app/main/draft/_action/add.lua @ 1231:e7fc3fed1593
Refactored password reset functionality
| author | bsw | 
|---|---|
| date | Tue Dec 01 18:12:00 2015 +0100 (2015-12-01) | 
| 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 ) |