Sha256: 1d80a4ff278e69ba7f02ccffa7d9bf1c9321d7c63ecbf36dd29b5cb4623bde58

Contents?: true

Size: 540 Bytes

Versions: 1

Compression:

Stored size: 540 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]
  resources :jobs, 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

1 entries across 1 versions & 1 rubygems

Version Path
rails_live_dashboard-0.2.0 config/routes.rb