Skip to content

Commit

Permalink
Merge pull request #2333 from tvdeyen/fix-content-factory-concern
Browse files Browse the repository at this point in the history
Make Alchemy::Content::Factory reloadable
  • Loading branch information
tvdeyen authored May 5, 2022
2 parents 514dcc9 + ce9357b commit a204263
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/models/alchemy/content.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@
# updater_id :integer
#

require_dependency "alchemy/content/factory"

module Alchemy
class Content < BaseRecord
include Alchemy::Logger
include Alchemy::Hints

# Concerns
include Alchemy::Content::Factory
include Factory

belongs_to :essence, polymorphic: true, dependent: :destroy, inverse_of: :content
belongs_to :element, touch: true, inverse_of: :contents
Expand Down

0 comments on commit a204263

Please sign in to comment.