diff options
author | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2014-06-27 01:02:42 +0200 |
---|---|---|
committer | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2016-01-27 01:50:42 +0100 |
commit | cc572b738ee204286dd3c866b4341801ff511211 (patch) | |
tree | 0639cc3d4236c4d03b0c6bc3dc8444088ecaa3b9 | |
parent | 8b5f33e4f15527c77bc8184ae109f7ff1656db22 (diff) | |
download | ecs2-cc572b738ee204286dd3c866b4341801ff511211.tar.gz ecs2-cc572b738ee204286dd3c866b4341801ff511211.zip |
Changed events default to true on creating subparticipants.
-rw-r--r-- | app/models/subparticipant.rb | 2 |
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 |