remove notify checkboxes from note forms

This commit is contained in:
Dmitriy Zaporozhets 2013-03-28 15:39:18 +02:00
parent 70947fedda
commit 5ad4be295f
5 changed files with 12 additions and 30 deletions

View file

@ -3,8 +3,6 @@ module Notes
def execute
note = project.notes.new(params[:note])
note.author = current_user
note.notify = params[:notify].present?
note.notify_author = params[:notify_author].present?
note.save
note
end