Modified: trunk/app/controllers/application_controller.rb (3366 => 3367)
--- trunk/app/controllers/application_controller.rb 2013-01-29 09:29:56 UTC (rev 3366)
+++ trunk/app/controllers/application_controller.rb 2013-01-29 10:24:29 UTC (rev 3367)
@@ -189,7 +189,7 @@
# If a group policy was selected, use that, and delete the old custom one (if there was one).
if params[:policy_type] == "group"
if contributable.contribution.policy && !contributable.contribution.policy.group_policy?
- contributable.contribution.policy.delete
+ contributable.contribution.policy.destroy
end
contributable.contribution.policy_id = params[:group_policy]
contributable.contribution.save