Sha256: 9f8c4f2e6758c695e168419ad6c4fd4b56d0771970dcc6a15aa0950e74f1c53c
Contents?: true
Size: 597 Bytes
Versions: 84
Compression:
Stored size: 597 Bytes
Contents
module <%= plugin_title %> module IssuesControllerPatch def self.included(base) base.extend(ClassMethods) base.send(:include, InstanceMethods) base.class_eval do alias_method_chain :index, :<%= plugin_name_underscored %> end end module InstanceMethods def index_with_<%= plugin_name_underscored %> index_without_<%= plugin_name_underscored %> end end module ClassMethods end end end RedmineExtensions::PatchManager.register_controller_patch 'IssuesController', '<%= plugin_title %>::IssuesControllerPatch'
Version data entries
84 entries across 84 versions & 1 rubygems