Skip to content

Commit

Permalink
support index option for activities and events
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Mar 7, 2020
1 parent 4c5f5ed commit f2e5a5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ def self.import_by_id(options = {})

id = options[:id].to_i
index = Rails.env.test? ? "events-test" : self.inactive_index
"events-test"
errors = 0
count = 0

Expand Down

0 comments on commit f2e5a5c

Please sign in to comment.