質問編集履歴
1
ファイル名を明記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -28,8 +28,14 @@
|
|
28
28
|
|
29
29
|
|
30
30
|
|
31
|
+
routes.rb
|
32
|
+
|
33
|
+
|
34
|
+
|
31
35
|
```routes.rb
|
32
36
|
|
37
|
+
|
38
|
+
|
33
39
|
Rails.application.routes.draw do
|
34
40
|
|
35
41
|
get 'password_resets/new'
|
@@ -78,8 +84,14 @@
|
|
78
84
|
|
79
85
|
|
80
86
|
|
87
|
+
microposts_controller.rb
|
88
|
+
|
89
|
+
|
90
|
+
|
81
91
|
```microposts_controller.rb
|
82
92
|
|
93
|
+
|
94
|
+
|
83
95
|
class MicropostsController < ApplicationController
|
84
96
|
|
85
97
|
before_action :logged_in_user, only: [:create, :destroy]
|
@@ -152,6 +164,10 @@
|
|
152
164
|
|
153
165
|
|
154
166
|
|
167
|
+
_micropost.html.erb
|
168
|
+
|
169
|
+
|
170
|
+
|
155
171
|
```_micropost.html.erb
|
156
172
|
|
157
173
|
<li id="micropost-<%= micropost.id %>">
|