Sha256: ce2aea99e716294e69dead921e227cc1c8f4c5a5c6c21a22f1c9a1b3cc72e57b

Contents?: true

Size: 334 Bytes

Versions: 7

Compression:

Stored size: 334 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: 'metrics#index'
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
prosperity-0.0.8 config/routes.rb
prosperity-0.0.7 config/routes.rb
prosperity-0.0.6 config/routes.rb
prosperity-0.0.5 config/routes.rb
prosperity-0.0.4 config/routes.rb
prosperity-0.0.3 config/routes.rb
prosperity-0.0.2 config/routes.rb