質問編集履歴
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
respond_to do |format|
|
20
20
|
|
21
|
-
if @
|
21
|
+
if @library.save
|
22
22
|
|
23
23
|
format.html { redirect_to(admin_library_url(@library), :notice => t('controller.successfully_created', :model => t('activerecord.models.library'))) }
|
24
24
|
|
@@ -54,7 +54,7 @@
|
|
54
54
|
|
55
55
|
respond_to do |format|
|
56
56
|
|
57
|
-
if @
|
57
|
+
if @library.save
|
58
58
|
|
59
59
|
format.html { redirect_to(admin_library_url(@library), :notice => t('controller.successfully_created', :model => t('activerecord.models.library'))) }
|
60
60
|
|