X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/359d76c8f0983d6010a9d45e4481decd4a3e06d9..e4c40cbd36567d050f1b779f1444c4ef26c50a5b:/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