Sha256: 3e7a994590c9d0a47fe366b5e32d381a2eb397e7f7f95cf647a32761b486029a

Contents?: true

Size: 500 Bytes

Versions: 3

Compression:

Stored size: 500 Bytes

Contents

RailsLiveDashboard::Engine.routes.draw do
  root to: 'dashboard#show'

  resource :dashboard, only: [:show], controller: :dashboard
  resource :clean, only: [:destroy], controller: :clean
  resources :requests, only: %i[index show]
  resources :exceptions, only: %i[index show]
  resources :queries, only: %i[index show]

  namespace :widgets do
    get 'slowest-requests', action: :show, controller: :slowest_requests
    get 'slowest-queries', action: :show, controller: :slowest_queries
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_live_dashboard-0.1.2 config/routes.rb
rails_live_dashboard-0.1.1 config/routes.rb
rails_live_dashboard-0.1.0 config/routes.rb