summaryrefslogtreecommitdiff
path: root/app/models/community.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/community.rb')
-rw-r--r--app/models/community.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/community.rb b/app/models/community.rb
index 27a34b2..33800d8 100644
--- a/app/models/community.rb
+++ b/app/models/community.rb
@@ -16,7 +16,7 @@
# License along with ECS. If not, see <http://www.gnu.org/licenses/>.
-class Community < ActiveRecord::Base
+class Community < ApplicationRecord
has_many :memberships, -> { order 'memberships.id ASC' }
has_many :participants, :through => :memberships
has_many :community_messages, :dependent => :destroy