diff --git a/app/views/game/last_save.html.erb b/app/views/game/last_save.html.erb index 7d1d5e1..78bfd65 100644 --- a/app/views/game/last_save.html.erb +++ b/app/views/game/last_save.html.erb @@ -20,7 +20,7 @@
- <% @node.children.each do |node| %> + <% @node.children.ordered.each do |node| %> <%= button_to node.title, url_for(action: "answer_last_save", value: node.id) %> <% end %> diff --git a/app/views/game/stage.html.erb b/app/views/game/stage.html.erb index 8c637b8..f005799 100644 --- a/app/views/game/stage.html.erb +++ b/app/views/game/stage.html.erb @@ -17,7 +17,7 @@
- <% @node.children.each do |node| %> + <% @node.children.ordered.each do |node| %> <%= button_to node.title, url_for(action: "answer", value: node.id), class: ("chance" if node.chance?), form: ((stage_index == 1 and node.chance?) ? { data: { action: "submit->chance#confirm" } } : {}) %>