class RedmineCrm::ActsAsDraftable::Draft
Public Class Methods
restore_all()
click to toggle source
# File lib/redmine_crm/acts_as_draftable/draft.rb, line 35 def self.restore_all find_each.map(&:restore) end
Public Instance Methods
restore()
click to toggle source
# File lib/redmine_crm/acts_as_draftable/draft.rb, line 31 def restore target_type.constantize.from_draft(self) end