diff options
| author | mo khan <mo@mokhan.ca> | 2017-02-12 16:17:49 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2017-02-12 16:17:49 -0700 |
| commit | c0e734edccdcd60c71feaef48d97b0f03736ca73 (patch) | |
| tree | badfb1be511d02ebbb32c253029d70841b42e528 /config | |
| parent | 4ac0ecf89aa6294281ed1a5a12f8b34059b69f5b (diff) | |
move getting started guide to dashboard controller.
Diffstat (limited to 'config')
| -rw-r--r-- | config/locales/en.yml | 2 | ||||
| -rw-r--r-- | config/routes.rb | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml index 0eb785a..01ef841 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -111,7 +111,7 @@ en: password: "Password" login_button: "Login" register_link: "Create an account" - workouts: + dashboards: import_address_modal: blurb_html: This is your custom email address for sending CSV exports from the <a href="http://stronglifts.com/apps/">StrongLifts 5x5 mobile application</a>. copy: Copy diff --git a/config/routes.rb b/config/routes.rb index 36cf826..698b70f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -8,8 +8,9 @@ Rails.application.routes.draw do resources :profiles, only: [:new, :create, :show, :edit, :update], constraints: { id: /[^\/]+/ } resources :gyms, only: [:index, :show, :new, :create] resources :graphs, only: [:show] + resource :dashboards, only: [:show] get "/u/:id" => "profiles#show", constraints: { id: /[^\/]+/ } - get "/dashboard" => "workouts#index", as: :dashboard + get "/dashboard" => "dashboards#show", as: :dashboard get "/terms" => "static_pages#terms" get "/stronglifts/export" => "static_pages#export" |
