Skip to content

Commit a8a99a7

Browse files
committed
🔗 トップページの「過去の記事を読む」リンクを /news に変更
- 外部サイト(news.coderdojo.jp)ではなく内部の /news ページへリンク - news_url ヘルパーの代わりに news_index_path を使用
1 parent 6b55517 commit a8a99a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/home/show.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
<%= render 'shared/dojo_letter_signup' %>
203203

204204
<div class="btn-cover" style="margin-top: 40px;">
205-
<a class="btn-blue" href="<%= news_url %>">
205+
<a class="btn-blue" href="<%= news_index_path %>">
206206
<i class="far fa-newspaper"></i>
207207
過去の記事を読む
208208
</a>

0 commit comments

Comments
 (0)