質問編集履歴

2

誤字

2019/05/30 05:38

投稿

tat_23
tat_23

スコア18

test CHANGED
File without changes
test CHANGED
@@ -188,7 +188,7 @@
188
188
 
189
189
  ```
190
190
 
191
- about.hrml.erb
191
+ about.html.erb
192
192
 
193
193
  ```
194
194
 

1

app/views/static_pages/{home,help,about}.html.erbの3つのファイルを追加しました。

2019/05/30 05:38

投稿

tat_23
tat_23

スコア18

test CHANGED
File without changes
test CHANGED
@@ -166,7 +166,85 @@
166
166
 
167
167
 
168
168
 
169
-
169
+ [追記]
170
+
171
+ home.html.erb
172
+
173
+ ```
174
+
175
+ <% provide(:title, "Home") %>
176
+
177
+ <h1>Sample App</h1>
178
+
179
+ <p>
180
+
181
+ This is the home page for the
182
+
183
+ <a href="https://railstutorial.jp/">Ruby on Rails Tutorial</a>
184
+
185
+ sample application.
186
+
187
+ </p>
188
+
189
+ ```
190
+
191
+ about.hrml.erb
192
+
193
+ ```
194
+
195
+
196
+
197
+ <% provide(:title, "About") %>
198
+
199
+ <h1>About</h1>
200
+
201
+ <p>
202
+
203
+ <a href="https://railstutorial.jp/">Ruby on Rails Tutorial</a>
204
+
205
+ is a <a href="https://railstutorial.jp/#ebook">book</a> and
206
+
207
+ <a href="https://railstutorial.jp/#screencast">screencast</a>
208
+
209
+ to teach web development with
210
+
211
+ <a href="http://rubyonrails.org/">Ruby on Rails</a>.
212
+
213
+ This is the sample application for the tutorial.
214
+
215
+ </p>
216
+
217
+
218
+
219
+
220
+
221
+ ```
222
+
223
+ help.html.erb
224
+
225
+ ```
226
+
227
+
228
+
229
+ <% provide(:title, "Help") %>
230
+
231
+ <h1>Help</h1>
232
+
233
+ <p> Get help on the Ruby on Rails Tutorial at the
234
+
235
+ <a href="https://railstutorial.jp/help">Rails Tutorial help section</a>.
236
+
237
+ To get help on this sample app, see the
238
+
239
+ <a href="https://railstutorial.jp/#ebook"><em>Ruby on Rails Tutorial</em>
240
+
241
+ book</a>.
242
+
243
+ </p>
244
+
245
+ ```
246
+
247
+ 長くなり申し訳ありませんが、参考までに記載させていただきました。
170
248
 
171
249
  ### 補足情報(FW/ツールのバージョンなど)
172
250