質問編集履歴
1
編集
title
CHANGED
File without changes
|
body
CHANGED
@@ -9,11 +9,26 @@
|
|
9
9
|
```
|
10
10
|
|
11
11
|
## エラー
|
12
|
+
|
12
13
|
```
|
13
14
|
undefined method `render' for #<ActionDispatch::Routing::Mapper:0x00007ff06d4ac878>
|
14
15
|
```
|
15
16
|
|
16
17
|
|
18
|
+
redirectに変更した時
|
19
|
+
|
20
|
+
```
|
21
|
+
No route matches [GET] "/todos"
|
22
|
+
|
23
|
+
|
24
|
+
Helper HTTP Verb Path Controller#Action
|
25
|
+
Path / Url
|
26
|
+
Path Match
|
27
|
+
GET / redirect(301, /todos)
|
28
|
+
```
|
29
|
+
|
30
|
+
|
31
|
+
|
17
32
|
普通はcontrollerを作成して、controllerからviewに返す方法はわかっているのですが、TDDでTODOリストを開発したく、controllerはviewの整形をした後に作成したいです
|
18
33
|
|
19
34
|
よろしくお願いします
|