Skip to content

Commit c77e2ec

Browse files
committed
Merge pull request #28 from kayloos/patch-1
you probably should link to an existing page
2 parents 8b9b943 + a9549e0 commit c77e2ec

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 ? '/' : "/#{locale}" %>
4+
<% url = locale == :en ? '/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)