Skip to content

Commit 787e2a8

Browse files
committed
added another missing path
1 parent c77e2ec commit 787e2a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/localizable/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<header class="layout--header">
22
<nav class="locales">
33
<% [:en, :es].each do |locale| %>
4-
<% url = locale == :en ? '/code-of-conduct/' : "/#{locale}" %>
4+
<% url = locale == :en ? '/code-of-conduct/' : "/code-of-conduct/#{locale}" %>
55
<% css_class = "locales--link#{' -selected' if locale == I18n.locale}" %>
66
<%= link_to locale.to_s.upcase, url, class: css_class %>
77
<% end %>

0 commit comments

Comments
 (0)