Permalink
Browse files

Use the non-indexable format list consistently

  • Loading branch information...
1 parent 24d64fd commit fc24b83f47f9830710d538b1248f32889240bae0 @jamiecobbett jamiecobbett committed Feb 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/rummageable_artefact.rb
View
2 app/models/rummageable_artefact.rb
@@ -15,7 +15,7 @@ def should_be_indexed?
end
def submit
- return if %w[ completed_transaction ].include?(@artefact.kind)
+ return if FORMATS_NOT_TO_INDEX.include?(@artefact.kind)
# API requests, if they know about the single registration API, will be
# providing the indexable_content field to update Rummager. UI requests

0 comments on commit fc24b83

Please sign in to comment.