diff options
author | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2012-09-21 14:49:34 +0200 |
---|---|---|
committer | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2012-09-21 15:40:46 +0200 |
commit | a6ffc4cd13d81de42aca57ee5f40563aa359ebab (patch) | |
tree | e520f55ee93d7d345551e49171fc4191e555c458 | |
parent | 0cc861c29262766d50ecc6683510eacd67f64225 (diff) | |
download | sonarqube-a6ffc4cd13d81de42aca57ee5f40563aa359ebab.tar.gz sonarqube-a6ffc4cd13d81de42aca57ee5f40563aa359ebab.zip |
SONAR-3597 Save last user who edited a manual measure
=> On manual measures, "Last change by" field is never updated
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/controllers/manual_measures_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/manual_measures_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/manual_measures_controller.rb index 56344f3de57..23494db4166 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/manual_measures_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/manual_measures_controller.rb @@ -46,6 +46,7 @@ class ManualMeasuresController < ApplicationController end @measure.typed_value=params[:val] @measure.description=params[:desc] + @measure.user_login=current_user.login if @measure.valid? @measure.save if (params[:redirect_to_new]=='true') |