mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-20 14:54:15 +01:00
(bug) abus notification error
This commit is contained in:
parent
36d7c02776
commit
b4250b2ce6
@ -1,5 +1,7 @@
|
||||
# Changelog Fab-manager
|
||||
|
||||
- Fix a bug: notification is broken when delete a project
|
||||
|
||||
## v6.0.3 2023 April 12
|
||||
|
||||
- Fix a bug: unable to install Fab-manager by setup.sh
|
||||
|
@ -40,6 +40,8 @@ class Project < ApplicationRecord
|
||||
has_many :project_steps, dependent: :destroy
|
||||
accepts_nested_attributes_for :project_steps, allow_destroy: true
|
||||
|
||||
has_many :abuses, as: :signaled, dependent: :destroy, class_name: 'Abuse'
|
||||
|
||||
# validations
|
||||
validates :author, :name, presence: true
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user