routes.rb 350 B

1234567891011121314
  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 do
  11. post :refresh, on: :member
  12. end
  13. root to: "queries#home"
  14. end