質問編集履歴

1

修正

2020/01/22 05:46

投稿

yuuki0218
yuuki0218

スコア22

test CHANGED
File without changes
test CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
  respond_to do |format|
20
20
 
21
- if @ndl_library.save
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 @ndl_library.save
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