Module: Redmineup::Patches::Compatibility::RoutingMapperPatch::InstanceMethods
- Defined in:
- lib/redmineup/patches/compatibility/routing_mapper_patch.rb
Instance Method Summary collapse
Instance Method Details
#constraints_with_redmineup(options = {}, &block) ⇒ Object
15 16 17 18 19 20 |
# File 'lib/redmineup/patches/compatibility/routing_mapper_patch.rb', line 15 def constraints_with_redmineup( = {}, &block) return constraints_without_redmineup(, &block) unless .is_a?(Hash) [:object_type] = /.+/ if [:object_type] && [:object_type].is_a?(Regexp) constraints_without_redmineup(, &block) end |