aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Bernloehr <Heiko.Bernloehr@FreeIT.de>2014-06-27 01:02:42 +0200
committerHeiko Bernloehr <Heiko.Bernloehr@FreeIT.de>2016-01-27 01:50:42 +0100
commitcc572b738ee204286dd3c866b4341801ff511211 (patch)
tree0639cc3d4236c4d03b0c6bc3dc8444088ecaa3b9
parent8b5f33e4f15527c77bc8184ae109f7ff1656db22 (diff)
downloadecs2-cc572b738ee204286dd3c866b4341801ff511211.tar.gz
ecs2-cc572b738ee204286dd3c866b4341801ff511211.zip
Changed events default to true on creating subparticipants.
-rw-r--r--app/models/subparticipant.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/subparticipant.rb b/app/models/subparticipant.rb
index fc653e9..6d44ffa 100644
--- a/app/models/subparticipant.rb
+++ b/app/models/subparticipant.rb
@@ -82,7 +82,7 @@ private
json_data= {} unless json_data.class == Hash
realm= json_data["realm"] ||= nil
community_selfrouting= json_data["community_selfrouting"] || false
- events= json_data["events"] ||= false
+ events= json_data["events"] ||= true
if json_data["communities"]
community_ids= json_data["communities"].map do |comm|
case