Skip to content

Commit df86629

Browse files
committed
Adding country subsoutes
1 parent ed0d21e commit df86629

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/routes.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
root 'dashboard#show'
33

44
scope controller: 'dashboard' do
5-
get 'code-of-conduct', action: 'code'
5+
scope '(:locale)', locale: /#{I18n.available_locales.join("|")}/ do
6+
get 'code-of-conduct', action: 'code'
7+
end
68
get 'coaches', action: 'wall_of_fame'
79
get 'effective-teacher-guide', action: 'effective-teacher-guide', as: :teaching_guide
810
get 'faq', action: 'faq'

0 commit comments

Comments
 (0)