Skip to content
Snippets Groups Projects
Verified Commit 0f080a94 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Make sure note.system is false if created by user

parent 499a1185
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -3,6 +3,7 @@ module Notes
def execute
note = project.notes.new(params[:note])
note.author = current_user
note.system = false
note.save
note
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment