mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-19 13:54:25 +01:00
[bug] unable to delete admin
This commit is contained in:
parent
85572a03db
commit
afd1cb4ce7
@ -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