summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2017-02-18 10:30:36 -0700
committermo khan <mo@mokhan.ca>2017-02-18 10:30:36 -0700
commitb863966fa51587cd9b69cc145f754c691dc41c5b (patch)
tree218b459ea0d296b0a697b15af4110f841d7f9667 /config
parent639a64e2532ee59f0082694e033a941c6977f837 (diff)
load chart via xhr.
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 698b70f..419512f 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -7,7 +7,7 @@ Rails.application.routes.draw do
resources :programs, only: [:show]
resources :profiles, only: [:new, :create, :show, :edit, :update], constraints: { id: /[^\/]+/ }
resources :gyms, only: [:index, :show, :new, :create]
- resources :graphs, only: [:show]
+ resources :charts, only: [:index]
resource :dashboards, only: [:show]
get "/u/:id" => "profiles#show", constraints: { id: /[^\/]+/ }
get "/dashboard" => "dashboards#show", as: :dashboard