aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Bernloehr <Heiko.Bernloehr@FreeIT.de>2014-06-27 00:38:14 +0200
committerHeiko Bernloehr <Heiko.Bernloehr@FreeIT.de>2016-01-27 01:50:41 +0100
commit8b5f33e4f15527c77bc8184ae109f7ff1656db22 (patch)
tree944d556ced9bb38ec9aca97b14a6539cba0db34f
parent18b84c90dc49a9755974816adfb0cee572b8c1cc (diff)
downloadecs2-8b5f33e4f15527c77bc8184ae109f7ff1656db22.tar.gz
ecs2-8b5f33e4f15527c77bc8184ae109f7ff1656db22.zip
Fixed subparticipant update.
-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 719e01c..fc653e9 100644
--- a/app/models/subparticipant.rb
+++ b/app/models/subparticipant.rb
@@ -62,7 +62,7 @@ class Subparticipant < ActiveRecord::Base
participant= subparticipant.participant
auth_id= "dummy"
data= process_json_data(parent, json_data)
- check_valid_communities(parent, data[:community_ids])
+ Subparticipant::check_valid_communities(parent, data[:community_ids])
params = {
"community_selfrouting" => data[:community_selfrouting],
"community_ids" => data[:community_ids],