Sha256: ca9ca6b39ac8d2057001589d4429a24970a9099afb9a414a68e120fffaf1c588
Contents?: true
Size: 547 Bytes
Versions: 19
Compression:
Stored size: 547 Bytes
Contents
require 'active_support/concern' module KonoUtils::Concerns module SuccessMessage extend ActiveSupport::Concern included do private def success_create_message(model) t('activerecord.successful.messages.created', :model => model.mn) end def success_update_message(model) t('activerecord.successful.messages.updated', :model => model.mn) end def success_destroy_message(model) t('activerecord.successful.messages.destroyed', :model => model.mn) end end end end
Version data entries
19 entries across 19 versions & 1 rubygems