Module: RedmineExtensions::ApplicationControllerPatch

Defined in:
lib/redmine_extensions/redmine_patches/controllers/application_controller_patch.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/redmine_extensions/redmine_patches/controllers/application_controller_patch.rb', line 4

def self.included(base)
  base.extend ClassMethods
  base.include InstanceMethods

  base.class_eval do
    helper_method :easy_extensions?
  end
end