Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c0d871a

Browse files
committed
errors/feedback_noticeをインライン化し、partialを削除
1 parent 9dac37e commit c0d871a

File tree

4 files changed

+21
-10
lines changed

4 files changed

+21
-10
lines changed

app/views/errors/_feedback_notice.html.erb

Lines changed: 0 additions & 7 deletions
This file was deleted.

app/views/errors/internal_server_error.html.erb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@
1616
現在、問題を調査しています。しばらくしてからもう一度お試しください。
1717
<br>
1818
</p>
19-
<%= render 'errors/feedback_notice' %>
19+
<p>
20+
フィードバックなどあれば [email protected] にメールしていただくか、
21+
<br>
22+
もしくは
23+
<a href="https://github.com/coderdojo-japan/coderdojo.jp/issues/" target="_blank" rel="noopener">GitHub Issue</a>
24+
に書いていただけると嬉しいです (>人< )✨
25+
</p>
2026
</section>
2127

2228
<%= render 'errors/footer_links_and_timeline' %>

app/views/errors/not_found.html.erb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@
1616
ページが削除された可能性があります 🤔💭
1717
<br>
1818
</p>
19-
<%= render 'errors/feedback_notice' %>
19+
<p>
20+
フィードバックなどあれば [email protected] にメールしていただくか、
21+
<br>
22+
もしくは
23+
<a href="https://github.com/coderdojo-japan/coderdojo.jp/issues/" target="_blank" rel="noopener">GitHub Issue</a>
24+
に書いていただけると嬉しいです (>人< )✨
25+
</p>
2026
</section>
2127

2228
<%= render 'errors/footer_links_and_timeline' %>

app/views/errors/unprocessable_entity.html.erb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@
1616
入力内容に誤りがあるか、リクエストが正しく送信されなかった可能性があります。
1717
<br>
1818
</p>
19-
<%= render 'errors/feedback_notice' %>
19+
<p>
20+
フィードバックなどあれば [email protected] にメールしていただくか、
21+
<br>
22+
もしくは
23+
<a href="https://github.com/coderdojo-japan/coderdojo.jp/issues/" target="_blank" rel="noopener">GitHub Issue</a>
24+
に書いていただけると嬉しいです (>人< )✨
25+
</p>
2026
</section>
2127

2228
<%= render 'errors/footer_links_and_timeline' %>

0 commit comments

Comments
 (0)