routes.rb 169 B

123456
  1. Blazer::Engine.routes.draw do
  2. resources :queries, except: [:index] do
  3. post :run, on: :collection # err on the side of caution
  4. end
  5. root to: "queries#index"
  6. end