回答編集履歴
1
誤字修正
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
@book = Book.new(book_params)
|
14
14
|
|
15
|
-
if book.save
|
15
|
+
if @book.save
|
16
16
|
|
17
17
|
redirect_to book_path(@book.id)
|
18
18
|
|