Closed hopscotchscooter closed 10 years ago
I think you need edit_entry_path(e)
, since that's the name you used in your for each loop. You're trying to add a link to edit this particular entry out of the list, so you would pass e into the path helper to tell it to generate a link for that particular entry.
Thanks a lot @jaimerump . That worked. Can't believe I missed that. That's what I get for being too lazy to type out "entry".
So I'm receiving the error below and I'm not quite sure as to why.
Here's my "index.html.erb" code...
Also, when I can see all of the entries, the "show" link for each one is just redirecting back to the whole index of entries and I'm not sure why. Here's my
rake routes
output...Any help would certainly be appreciated. Thanks in advance.