Sha256: 03a1cdfebeb505a52a2020bdd0d8fd8274965b25b12271db9f534a9b5b3b6751
Contents?: true
Size: 625 Bytes
Versions: 2
Compression:
Stored size: 625 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) || (r.app.respond_to?(:app) && 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rapporteur-3.6.0 | config/routes.rb |
rapporteur-3.5.1 | config/routes.rb |