From 4945a8298076ee156027a5ed9200fcf033451e19 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Tue, 26 Sep 2023 07:53:14 +0900 Subject: [PATCH] Nullify edit key when party is remixed (#135) This stops logged in users from editing remixed parties --- app/models/party.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/party.rb b/app/models/party.rb index 0132996..a4f32db 100644 --- a/app/models/party.rb +++ b/app/models/party.rb @@ -88,6 +88,7 @@ class Party < ApplicationRecord nullify :description nullify :shortcode + nullify :edit_key include_association :characters include_association :weapons