(No route matches [DELETE] “/subscriptions”)
using
<%= link_to 'Unsubscribe', subscriptions_path(feed_id: session[:read_random].last), method: :delete, remote: :true %>
routes.rb:
resources :subscriptions
I need the link to actually have a URI of /subscriptions/1 using DELETE method but i can only seem to get /subscriptions?feed_id=1
Try specifying the id or object for delete: