Skip to content
This repository
Browse code

Use the non-indexable format list consistently

  • Loading branch information...
commit fc24b83f47f9830710d538b1248f32889240bae0 1 parent 24d64fd
Jamie Cobbett authored February 20, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  app/models/rummageable_artefact.rb
2  app/models/rummageable_artefact.rb
@@ -15,7 +15,7 @@ def should_be_indexed?
15 15
   end
16 16
 
17 17
   def submit
18  
-    return if %w[ completed_transaction ].include?(@artefact.kind)
  18
+    return if FORMATS_NOT_TO_INDEX.include?(@artefact.kind)
19 19
 
20 20
     # API requests, if they know about the single registration API, will be
21 21
     # providing the indexable_content field to update Rummager. UI requests

0 notes on commit fc24b83

Please sign in to comment.
Something went wrong with that request. Please try again.