Module: Redmineup::Patches::Compatibility::RoutingMapperPatch

Defined in:
lib/redmineup/patches/compatibility/routing_mapper_patch.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
9
10
11
12
# File 'lib/redmineup/patches/compatibility/routing_mapper_patch.rb', line 5

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

  base.class_eval do
    alias_method :constraints_without_redmineup, :constraints
    alias_method :constraints, :constraints_with_redmineup
  end
end