liquid_feedback_frontend
diff app/main/admin/_action/area_update.lua @ 120:e5a221e57dc6
merge
author | bsw |
---|---|
date | Mon Oct 04 17:51:29 2010 +0200 (2010-10-04) |
parents | 915cc0341538 |
children | 36aedac3e4bf |
line diff
1.1 --- a/app/main/admin/_action/area_update.lua Fri Sep 24 14:49:36 2010 +0200 1.2 +++ b/app/main/admin/_action/area_update.lua Mon Oct 04 17:51:29 2010 +0200 1.3 @@ -16,4 +16,12 @@ 1.4 1.5 area:save() 1.6 1.7 +param.update_relationship{ 1.8 + param_name = "allowed_policies", 1.9 + id = area.id, 1.10 + connecting_model = AllowedPolicy, 1.11 + own_reference = "area_id", 1.12 + foreign_reference = "policy_id" 1.13 +} 1.14 + 1.15 slot.put_into("notice", _"Area successfully updated")