Iâ??m having a strange issue with nested routes though, and was wondering
if anyone could shed some light on thisâ?¦
If I have:
map.resources :users do |users|
When I try to call
<%= link_to_remote ‘Delete’, :url => item_url(@item), :with =>
“’_method=delete’”, :confirm => ‘Are you sure?’ %>
From inside the user url
Or edit_item_url(@item.id) it doesnâ??t always render the correct URL, and
sometimes I get a nil error trying to render the url.
Not sure what Iâ??m missing here, but any help is greatly appreciated.
I’ve freezed Edge Rails btw.