lib/jets/generator/templates/erb/scaffold/edit.html.erb in jets-1.9.32 vs lib/jets/generator/templates/erb/scaffold/edit.html.erb in jets-2.0.0
- old
+ new
@@ -1,6 +1,6 @@
<h1>Editing <%= singular_table_name.titleize %></h1>
<%%= render 'form', <%= singular_table_name %>: @<%= singular_table_name %> %>
-<%%= link_to 'Show', "/<%= plural_table_name %>/#{@<%= singular_table_name %>.id}" %> |
-<%%= link_to 'Back', "/<%= plural_table_name %>" %>
+<%%= link_to 'Show', @<%= singular_table_name %> %> |
+<%%= link_to 'Back', <%= index_helper %>_path %>