Update raid model
To belong to the RaidGroup class
This commit is contained in:
parent
09b5d17470
commit
95516837a0
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class Raid < ApplicationRecord
|
class Raid < ApplicationRecord
|
||||||
|
belongs_to :group, class_name: 'RaidGroup', foreign_key: :group_id
|
||||||
|
|
||||||
def blueprint
|
def blueprint
|
||||||
RaidBlueprint
|
RaidBlueprint
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue