Sha256: 055b840afbb83967406ee1748484bce619577ddd640821df8ec43de22d3ed44f
Contents?: true
Size: 735 Bytes
Versions: 4
Compression:
Stored size: 735 Bytes
Contents
# frozen_string_literal: true Rapporteur::Engine.routes.draw do get '/(.:format)', to: 'statuses#show', as: :status end explicitly_mounted = Rails.application.routes.routes.any? { |r| (Rapporteur::Engine == r.app) || (r.app.respond_to?(:app) && Rapporteur::Engine == r.app.app) } unless explicitly_mounted 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.') # rubocop:disable Layout/LineLength Rails.application.routes.draw do mount Rapporteur::Engine, at: '/status' end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rapporteur-3.8.0 | config/routes.rb |
rapporteur-3.7.2 | config/routes.rb |
rapporteur-3.7.1 | config/routes.rb |
rapporteur-3.7.0 | config/routes.rb |