feat: Portal and Category public APIs (#4946)
This commit is contained in:
@@ -39,4 +39,6 @@ class Portal < ApplicationRecord
|
||||
validates :slug, presence: true, uniqueness: true
|
||||
|
||||
accepts_nested_attributes_for :members
|
||||
|
||||
scope :active, -> { where(archived: false) }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user