summaryrefslogtreecommitdiff
path: root/app/observers/activity_observer.rb
diff options
context:
space:
mode:
authorAndrew8xx8 <avk@8xx8.ru>2013-02-13 15:48:16 +0400
committerAndrew8xx8 <avk@8xx8.ru>2013-02-13 15:48:16 +0400
commit839957cf56acb905afc18605c0579d07083e0d37 (patch)
tree26d360e900fbd31548f269fa62bc504b419c1398 /app/observers/activity_observer.rb
parentb9f8b4019073fe60515bda8947d9040b4b73ea38 (diff)
downloadgitlab-ce-839957cf56acb905afc18605c0579d07083e0d37.tar.gz
Constants in Events looks good now
Diffstat (limited to 'app/observers/activity_observer.rb')
-rw-r--r--app/observers/activity_observer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/observers/activity_observer.rb b/app/observers/activity_observer.rb
index c188e5720ac..b568bb6b763 100644
--- a/app/observers/activity_observer.rb
+++ b/app/observers/activity_observer.rb
@@ -26,7 +26,7 @@ class ActivityObserver < ActiveRecord::Observer
project: record.project,
target_id: record.id,
target_type: record.class.name,
- action: (record.closed ? Event::Closed : Event::Reopened),
+ action: (record.closed ? Event::CLOSED : Event::REOPENED),
author_id: record.author_id_of_changes
)
end