X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/359d76c8f0983d6010a9d45e4481decd4a3e06d9..32104684f7fe70bac494ede1f7249a6cf19a63ec:/app/controllers/issues_controller.rb?ds=inline diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index cd3584f02..594038939 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -47,9 +47,10 @@ class IssuesController < ApplicationController @new_comment = IssueComment.new(:issue => @issue) end - # Status Transistions + # Status Transitions def resolve if @issue.resolve + @issue.updated_by = current_user.id @issue.save! redirect_to @issue, :notice => t(".resolved") else