routes.rb 310 B

123456789101112
  1. Blazer::Engine.routes.draw do
  2. resources :queries do
  3. post :run, on: :collection # err on the side of caution
  4. post :refresh, on: :member
  5. get :tables, on: :collection
  6. end
  7. resources :checks, except: [:show] do
  8. get :run, on: :member
  9. end
  10. resources :dashboards
  11. root to: "queries#home"
  12. end