<%= link_to 'View the item', items_url(@item, :only_path => false) %>
Which is generating:
http://0.0.0.0:3000/items.124/
This is no good as it has a period where it should have a forward slash like:
http://0.0.0.0:3000/items/124/
Anyone know y? thanks
shoot, should be item_url
not items_url
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With