Sha256: 130bf77a3a96f06a5387e491d46733928617aecd850860c94a8054e33db75f92

Contents?: true

Size: 280 Bytes

Versions: 7

Compression:

Stored size: 280 Bytes

Contents

# frozen_string_literal: true

Emailbutler::Engine.routes.draw do
  post '/webhooks/:provider', to: 'webhooks#create' if Emailbutler.configuration.providers.any?

  resources :ui, only: %i[index show]
  namespace :ui do
    resources :messages, only: %i[update destroy]
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
emailbutler-0.8.8 config/routes.rb
emailbutler-0.8.7 config/routes.rb
emailbutler-0.8.6 config/routes.rb
emailbutler-0.8.5 config/routes.rb
emailbutler-0.8.4 config/routes.rb
emailbutler-0.8.3 config/routes.rb
emailbutler-0.8.2 config/routes.rb