1
0
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:
Sylvain 2017-02-21 10:36:00 +01:00
parent 1851ef9543
commit d00ce4d409

View File

@ -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