Skip to content

Commit

Permalink
require commontator and acts_as_votable gems in custom comment class
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipDeFraties committed Dec 24, 2024
1 parent 6c9834f commit d6eb54d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/classes/comment.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require "commontator"
require 'acts_as_votable'
class Commontator::Comment < ActiveRecord::Base
belongs_to :creator, polymorphic: true
belongs_to :editor, polymorphic: true, optional: true
Expand Down

0 comments on commit d6eb54d

Please sign in to comment.