1
0
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:
Sylvain 2017-02-21 10:36:00 +01:00
parent 85572a03db
commit afd1cb4ce7

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