diff options
author | connorshea <connor.james.shea@gmail.com> | 2016-04-06 06:54:57 +0300 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-07-11 21:48:38 +0300 |
commit | 61f0e89484be5aca5d22ab63c72b08575f7e3f6d (patch) | |
tree | cc95be25ec217ca105063cfe3784b33ad935a0e5 /config/routes.rb | |
parent | 734e44ee79590be6d9f01ca3e815304221a5c88d (diff) |
Make "Get started with Builds" Help Page link work properly
This is probably a horrible way of fixing this issue, but it does work.
I can’t find much information on linking this deeply with Rails routes.
Resolves #14872.
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index b4f83c58bbd..5ee0bd422fa 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -91,6 +91,7 @@ Rails.application.routes.draw do # Help get 'help' => 'help#index' get 'help/:category/:file' => 'help#show', as: :help_page, constraints: { category: /.*/, file: /[^\/\.]+/ } + get 'help/:category/:subcategory/:file' => 'help#show', as: :deep_help_page, constraints: { category: /.*/, subcategory: /.*/, file: /[^\/\.]+/ } get 'help/shortcuts' get 'help/ui' => 'help#ui' |