fix error on checklists

This commit is contained in:
zmagod 2018-02-06 16:06:15 +01:00
parent b48fa3f231
commit 75cc9d11df

View file

@ -18,7 +18,7 @@ module StepsActions
new_checklists = step_params[:checklists_attributes]
if new_checklists
new_checklists.each do |e|
new_checklists.to_h.each do |e|
list = PreviousChecklist.new(
e.second[:id].to_i,
e.second[:name]