Skip to content

Commit

Permalink
Shorten often-visited URL: /docs/brand-guidelines -> /brand
Browse files Browse the repository at this point in the history
  • Loading branch information
yasulab committed Oct 29, 2024
1 parent 8ffa155 commit 7834389
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
get "/about-coderdojo-japan" => "docs#show", id: 'about-coderdojo-japan'
get "/about-coderdojo" => "docs#show", id: 'about-coderdojo'

get "/docs/brand-guidelines", to: redirect('/brand')
get "/docs/thanks", to: redirect('/thanks')
get "/docs/financial-report", to: redirect('/finances')
get "/docs/finances", to: redirect('/finances')
Expand All @@ -34,12 +35,12 @@
get "/redirects/202407", to: redirect('https://www.facebook.com/groups/coderdojo.jp.champions/posts/7788378511253707/')
get "/redirects/interface", to: redirect('/')
get "/youtube", to: redirect('https://www.youtube.com/CoderDojoJapan')
get "/brand", to: redirect('/docs/brand-guidelines')
get "/calendar", to: redirect('/calendar/yohei')
get "/calendar/yohei" => "docs#show", id: '_calendar-yohei'
get "/calendar/kirie" => "docs#show", id: '_calendar-kirie'
get "/thanks" => "docs#show", id: '_thanks'

get "/brand" => "docs#show", id: 'brand-guidelines'
get "/charter" => "docs#show", id: 'charter'
get "/charter_en" => "docs#show", id: 'charter_en'
get "/english" => "docs#show", id: 'english'
Expand Down

0 comments on commit 7834389

Please sign in to comment.