Sha256: c52b2bbe73d8f3e8e3d03efdc3d9cd469843f50acdc6e2679e34a9f4bded46a9

Contents?: true

Size: 563 Bytes

Versions: 1

Compression:

Stored size: 563 Bytes

Contents

Rapporteur::Engine.routes.draw do
  get '/(.:format)', to: 'statuses#show', as: :status
end

unless Rails.application.routes.routes.any? { |r| Rapporteur::Engine == r.app.app }
  ActiveSupport::Deprecation.warn('Rapporteur was not explicitly mounted in your application. Please add an explicit mount call to your /config/routes.rb. Automatically mounted Rapporteur::Engine to /status for backward compatibility. This will be no longer automatically mount in Rapporteur 4.')
  Rails.application.routes.draw do
    mount Rapporteur::Engine, at: '/status'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rapporteur-3.5.0 config/routes.rb