Sha256: 245ed09e9dca083bd2968f39d093257b0c9d0ad4312aef3d3bb06f620e432cb6
Contents?: true
Size: 520 Bytes
Versions: 84
Compression:
Stored size: 520 Bytes
Contents
module <%= plugin_title %> module IssuePatch def self.included(base) base.extend(ClassMethods) base.send(:include, InstanceMethods) base.class_eval do alias_method_chain :to_s, :<%= plugin_name_underscored %> end end module InstanceMethods def to_s_with_<%= plugin_name_underscored %> 'issue' end end module ClassMethods end end end RedmineExtensions::PatchManager.register_model_patch 'Issue', '<%= plugin_title %>::IssuePatch'
Version data entries
84 entries across 84 versions & 1 rubygems