Sha256: b55de0476d00f1684822bbb4c1a3917fffc018de58ce7e01ffb3a8706387d447

Contents?: true

Size: 537 Bytes

Versions: 14

Compression:

Stored size: 537 Bytes

Contents

Blazer::Engine.routes.draw do
  resources :queries do
    post :refresh, on: :member
    post :run, on: :collection # err on the side of caution
    post :cancel, on: :collection
    post :backup, on: :collection
    get :tables, on: :collection
    get :columns, on: :collection
    get :schema, on: :collection
    get :docs, on: :collection
  end

  resources :checks, except: [:show] do
    get :run, on: :member
  end

  resources :dashboards, except: [:index] do
    post :refresh, on: :member
  end

  root to: 'queries#home'
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
sql-jarvis-2.1.10 config/routes.rb
sql-jarvis-2.1.9 config/routes.rb
sql-jarvis-2.1.8 config/routes.rb
sql-jarvis-2.1.7 config/routes.rb
sql-jarvis-2.1.6 config/routes.rb
sql-jarvis-2.1.5 config/routes.rb
sql-jarvis-2.1.4 config/routes.rb
sql-jarvis-2.1.3 config/routes.rb
sql-jarvis-2.1.2 config/routes.rb
sql-jarvis-2.1.1 config/routes.rb
sql-jarvis-2.1 config/routes.rb
sql-jarvis-2.0.9 config/routes.rb
sql-jarvis-2.0.8 config/routes.rb
sql-jarvis-2.0.7 config/routes.rb