config/routes.rb in defra_ruby_mocks-2.1.0 vs config/routes.rb in defra_ruby_mocks-2.2.0
- old
+ new
@@ -4,9 +4,14 @@
get "/company/:id",
to: "company#show",
as: "company",
constraints: ->(_request) { DefraRubyMocks.configuration.enabled? }
+ get "/company/:id/officers",
+ to: "company#officers",
+ as: "company_officers",
+ constraints: ->(_request) { DefraRubyMocks.configuration.enabled? }
+
get "/worldpay/payments-service",
to: "worldpay#payments_service",
as: "worldpay_payments_service",
constraints: ->(_request) { DefraRubyMocks.configuration.enabled? }