We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed0d21e commit df86629Copy full SHA for df86629
config/routes.rb
@@ -2,7 +2,9 @@
2
root 'dashboard#show'
3
4
scope controller: 'dashboard' do
5
- get 'code-of-conduct', action: 'code'
+ scope '(:locale)', locale: /#{I18n.available_locales.join("|")}/ do
6
+ get 'code-of-conduct', action: 'code'
7
+ end
8
get 'coaches', action: 'wall_of_fame'
9
get 'effective-teacher-guide', action: 'effective-teacher-guide', as: :teaching_guide
10
get 'faq', action: 'faq'
0 commit comments