Merge pull request #1186 from internetee/remove-mail-templates

Remove mail templates feature as buggy and unused
This commit is contained in:
Timo Võhmar 2019-06-19 16:39:19 +03:00 committed by GitHub
commit 07b23ca57f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 7 additions and 271 deletions

View file

@ -99,7 +99,6 @@ class Ability
can :manage, LegalDocument
can :manage, BankStatement
can :manage, BankTransaction
can :manage, MailTemplate
can :manage, Invoice
can :manage, WhiteIp
can :manage, AccountActivity

View file

@ -1,3 +0,0 @@
class MailTemplate < ActiveRecord::Base
validates :name, :subject, :from, :body, :text_body, presence: true
end