X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/359d76c8f0983d6010a9d45e4481decd4a3e06d9..5da7215873152fd52a93c3d91bc38c5dbb32ddce:/app/controllers/issues_controller.rb?ds=sidebyside 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