diff --git a/app/views/admin/patchfiles/index.html.erb b/app/views/admin/patchfiles/index.html.erb index bfc90d3..9541d6b 100644 --- a/app/views/admin/patchfiles/index.html.erb +++ b/app/views/admin/patchfiles/index.html.erb @@ -60,7 +60,7 @@ <% - default_file_show = @file_to_show..fields['file_show'].options[:default] + default_file_show = @file_to_show.fields['file_show'].options[:default] if @file_to_show.file_show.count != default_file_show.count @file_to_show.file_show = default_file_show @file_to_show.save