notes are working

This commit is contained in:
albert
2011-05-30 01:23:07 -04:00
parent 9e287726e3
commit 5d4ff96cbc
4 changed files with 33 additions and 8 deletions

View File

@@ -33,7 +33,7 @@ class NotesController < ApplicationController
def destroy
@note = Note.find(params[:id])
@note.destroy
@note.update_attribute(:is_active, false)
respond_with(@note)
end