Add missing geozone relation
This commit is contained in:
@@ -21,6 +21,7 @@ class Legislation::PeopleProposal < ApplicationRecord
|
||||
|
||||
belongs_to :process, class_name: "Legislation::Process", foreign_key: "legislation_process_id"
|
||||
belongs_to :author, -> { with_hidden }, class_name: "User", foreign_key: "author_id"
|
||||
belongs_to :geozone
|
||||
has_many :comments, as: :commentable
|
||||
|
||||
validates :title, presence: true
|
||||
|
||||
Reference in New Issue
Block a user