Sha256: 5844af5273ffcb47cf99523450d000a2832cd80be55da4437bd96bbc1ffef13a

Contents?: true

Size: 337 Bytes

Versions: 3

Compression:

Stored size: 337 Bytes

Contents

Prosperity::Engine.routes.draw do 
  resources :dashboards do
    post "graphs/:graph_id", to: "dashboard_graphs#create", as: :dashboard_graphs
    delete "graphs/:graph_id", to: "dashboard_graphs#destroy"
  end
  resources :metrics do 
    member do
      get :data
    end
  end

  resources :graphs

  root to: 'dashboards#index'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
prosperity-0.0.11 config/routes.rb
prosperity-0.0.10 config/routes.rb
prosperity-0.0.9 config/routes.rb