jefflunt / rpglogger

(retired) Build your own strategy guide for any RPG
6 stars 0 forks source link

When you delete the last section, the LogBook gets deleted as well #135

Closed jefflunt closed 12 years ago

jefflunt commented 12 years ago

This would be fine, except that the redirect takes you back to the edit action, which is then invalid.

jefflunt commented 12 years ago

Problem seems to be that a form get generated in some cases for the section (as it should be) while other times it doesn't, and therefore the submit happens on the LogBook instead.

This probably happened when I changed link_to to button_to. I will change it back.