Skip to content

Commit

Permalink
uncomment
Browse files Browse the repository at this point in the history
  • Loading branch information
khcr committed Nov 5, 2016
1 parent ff1c9c2 commit 8eb6e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/concerns/es_callbacks.rb
Expand Up @@ -2,7 +2,7 @@ module EsCallbacks
extend ActiveSupport::Concern

included do
#after_commit lambda { __elasticsearch__.index_document }, on: [:create, :update]
after_commit lambda { __elasticsearch__.index_document }, on: [:create, :update]
after_commit lambda { __elasticsearch__.delete_document }, on: :destroy
end

Expand Down

0 comments on commit 8eb6e0a

Please sign in to comment.