File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11class NewsController < ApplicationController
22 def index
3- @title = '📰️ CoderDojo ニュース'
3+ @title = '📰 CoderDojo ニュース'
44 @desc = 'CoderDojo に関するお知らせの一覧ページです。'
55 @url = request . url
66
@@ -9,7 +9,7 @@ def index
99
1010 respond_to do |format |
1111 format . html # デフォルトのHTMLビュー
12- format . json {
12+ format . json {
1313 # JSON レスポンス時は variant を無視する
1414 # rack-user_agent gem による variant 設定が JSON レスポンスに影響しないようにする
1515 request . variant = nil
Original file line number Diff line number Diff line change 77
88 <div class ='container '>
99 < section class ='news ' style ='padding: 50px 0px 0px; '>
10- < h1 class ='text-center '> <%= @title . html_safe %> </ h1 >
10+ < h1 class ='text-center '>
11+ 📰🆕
12+ < br >
13+ CoderDojo ニュース
14+ </ h1 >
1115
1216 < p class ='text-center ' style ='padding-top: 30px; '>
1317 <%= @desc . html_safe %>
You can’t perform that action at this time.
0 commit comments