回答編集履歴
1
endについて追記
test
CHANGED
@@ -2,10 +2,38 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
``
|
5
|
+
`end` の位置もおかしいと思います。
|
6
6
|
|
7
|
-
class SessionsController < ApplicationController
|
8
7
|
|
8
|
+
|
9
|
+
```diff
|
10
|
+
|
11
|
+
class SessionsController < ApplicationController
|
12
|
+
|
9
|
-
skip_before_action :require_login, only: [:new, :create]
|
13
|
+
+ skip_before_action :require_login, only: [:new, :create]
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
def new; end
|
18
|
+
|
19
|
+
- end
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
def create
|
24
|
+
|
25
|
+
...
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
def destroy
|
32
|
+
|
33
|
+
...
|
34
|
+
|
35
|
+
end
|
36
|
+
|
37
|
+
+ end
|
10
38
|
|
11
39
|
```
|