app/views/items/edit.html.erb in wontomedia-0.0.2 vs app/views/items/edit.html.erb in wontomedia-0.1.0

- old
+ new

@@ -41,10 +41,10 @@ <%= render :partial => "form_fields", :locals => { :f => f } %> <p><%= f.submit "Update", :tabindex => "10" %></p> <% end %> <div class="horizontal-link-list"><ul> - <li><%= link_to 'Cancel,&nbsp;show&nbsp;item', item_path(@item), + <li><%= link_to 'Cancel,&nbsp;show&nbsp;item', item_by_name_path(@item.name), :rel => 'nofollow' -%></li> <li><%= link_to 'Cancel,&nbsp;show&nbsp;item&nbsp;list', items_path, :rel => 'nofollow' -%></li> </ul></div>