remove notify checkboxes from note forms
This commit is contained in:
parent
70947fedda
commit
5ad4be295f
5 changed files with 12 additions and 30 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue