app/views/pg_hero/home/explain.html.erb in pghero-1.1.4 vs app/views/pg_hero/home/explain.html.erb in pghero-1.2.0

- old
+ new

@@ -7,9 +7,12 @@ <% end %> <% if @explanation %> <pre><%= @explanation %></pre> <p><%= link_to "See how to interpret this", "http://www.postgresql.org/docs/current/static/using-explain.html", target: "_blank" %></p> + <% if (index = @suggested_index) %> + <%= render partial: "suggested_index", locals: {index: index} %> + <% end %> <% elsif @error %> <div class="alert alert-danger"><%= @error %></div> <% end %> </div>