Sha256: dff70376b900e0f80006043fdc594b5f042bb51dae11c409a08ccaee15f82b39

Contents?: true

Size: 221 Bytes

Versions: 3

Compression:

Stored size: 221 Bytes

Contents

# frozen_string_literal: true

DefraRubyEmail::Engine.routes.draw do
  get "/last-email",
      to: "last_email#show",
      as: "last_email",
      constraints: ->(_request) { DefraRubyEmail.configuration.enabled? }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
defra_ruby_email-1.0.0 config/routes.rb
defra_ruby_email-0.2.0 config/routes.rb
defra_ruby_email-0.1.0 config/routes.rb