Open linkalis opened 11 years ago
Notes destroy method in the notes controller should read:
def destroy @note = Note.find(params[:id]) @note.destroy
redirect_to notes_url
end
I think @yammada's commit fixed this issue. https://github.com/railsmn/schedule/commit/140040c6ccb5879fd18e0ea0b10168e9dbb83704.
Does fix the issue you saw?
Notes destroy method in the notes controller should read:
def destroy @note = Note.find(params[:id]) @note.destroy
end