mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-20 14:54:15 +01:00
[bug] unable to delete admin
This commit is contained in:
parent
1851ef9543
commit
d00ce4d409
@ -46,6 +46,7 @@ class User < ActiveRecord::Base
|
||||
accepts_nested_attributes_for :tags, allow_destroy: true
|
||||
|
||||
has_one :wallet, dependent: :destroy
|
||||
has_many :wallet_transactions, dependent: :destroy
|
||||
|
||||
has_many :exports, dependent: :destroy
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user