1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/helpers/contacts_helper.rb

10 lines
231 B
Ruby
Raw Normal View History

2019-09-02 23:33:34 -04:00
# frozen_string_literal: true
module ContactsHelper
def contact_destroy_confirmation(contact)
value = "#{Contact.model_name.human(count: 1)} \"#{contact.value}\""
translate :destroy_confirmation, value: value
end
end