diff options
author | Maxim Rydkin <maks.rydkin@gmail.com> | 2017-08-24 19:26:24 +0300 |
---|---|---|
committer | Maxim Rydkin <maks.rydkin@gmail.com> | 2017-08-29 11:14:41 +0300 |
commit | 48d3e5fac63ab7514f05b14a8645c344ba3d5f2b (patch) | |
tree | 8df0efc727234be6337073410001ebb818ff0c07 /app/controllers/projects/issues_controller.rb | |
parent | edd56aeaf48b119be2b29c5a03e03aa2a1152af9 (diff) | |
download | gitlab-ce-48d3e5fac63ab7514f05b14a8645c344ba3d5f2b.tar.gz |
replace `is_edited?` with `edited?`
Diffstat (limited to 'app/controllers/projects/issues_controller.rb')
-rw-r--r-- | app/controllers/projects/issues_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/issues_controller.rb b/app/controllers/projects/issues_controller.rb index 8893a514207..1afaceac567 100644 --- a/app/controllers/projects/issues_controller.rb +++ b/app/controllers/projects/issues_controller.rb @@ -202,7 +202,7 @@ class Projects::IssuesController < Projects::ApplicationController task_status: @issue.task_status } - if @issue.is_edited? + if @issue.edited? response[:updated_at] = @issue.updated_at response[:updated_by_name] = @issue.last_edited_by.name response[:updated_by_path] = user_path(@issue.last_edited_by) |