Module: RedmineCrm::Patches::RoutingMapperPatch

Defined in:
lib/redmine_crm/compatibility/routing_mapper_patch.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/redmine_crm/compatibility/routing_mapper_patch.rb', line 4

def self.included(base)
  base.send(:include, InstanceMethods)

  base.class_eval do
    alias_method :constraints_without_redmine_crm, :constraints
    alias_method :constraints, :constraints_with_redmine_crm
  end
end