aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2018-02-17 19:11:10 -0500
committerAlec Warner <antarus@gentoo.org>2018-02-17 19:11:10 -0500
commit0628e0106a59fbb992c429641e9497285218cd69 (patch)
tree37e1a8663db536f7c2dc4ae6bd4060abc7263758 /app
parentFix index typo. (diff)
downloadpackages-0628e0106a59fbb992c429641e9497285218cd69.tar.gz
packages-0628e0106a59fbb992c429641e9497285218cd69.tar.bz2
packages-0628e0106a59fbb992c429641e9497285218cd69.zip
Fix Changes index again.
Its simpler to fix by not renaming the class and just renaming the index name due to how we automate things in p.g.o.
Diffstat (limited to 'app')
-rw-r--r--app/models/change.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/change.rb b/app/models/change.rb
index 580d5ab..6eaf00c 100644
--- a/app/models/change.rb
+++ b/app/models/change.rb
@@ -2,7 +2,7 @@ class Change
include Elasticsearch::Persistence::Model
include Kkuleomi::Store::Model
- index_name "changes-#{Rails.env}"
+ index_name "change-#{Rails.env}"
attribute :package, String, mapping: { type: 'keyword' }
attribute :category, String, mapping: { type: 'keyword' }