Sha256: 32c06e8ef61398b9ff0c6ff644ed53ccf93c29e422606afc96527ef8ac5969dc
Contents?: true
Size: 619 Bytes
Versions: 84
Compression:
Stored size: 619 Bytes
Contents
module <%= plugin_title %> module IssuesHelperPatch def self.included(base) base.extend(ClassMethods) base.send(:include, InstanceMethods) base.class_eval do alias_method_chain :issue_heading, :<%= plugin_name_underscored %> end end module InstanceMethods def issue_heading_with_<%= plugin_name_underscored %>(issue) issue_heading_without_<%= plugin_name_underscored %>(issue) end end module ClassMethods end end end RedmineExtensions::PatchManager.register_helper_patch 'IssuesHelper', '<%= plugin_title %>::IssuesHelperPatch'
Version data entries
84 entries across 84 versions & 1 rubygems