File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def with_solr_helper(solr_helper)
1414 end
1515
1616 def search_options ( id )
17- ( items . detect { |x | x [ :id ] == id } ) || { }
17+ items . detect { |x | x [ :id ] == id } || { }
1818 end
1919
2020 def searches
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class FeaturedPagesBlock < SirTrevorRails::Block
88 include Displayable
99
1010 def page_options ( id )
11- ( items . detect { |x | x [ :id ] == id } ) || { }
11+ items . detect { |x | x [ :id ] == id } || { }
1212 end
1313
1414 def pages
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ module Spotlight
44 ##
55 # Exhibit resources
66 class Resource < ActiveRecord ::Base
7- class_attribute :indexing_pipeline , default : ( Spotlight ::Etl ::Pipeline . new do |pipeline |
7+ class_attribute :indexing_pipeline , default : Spotlight ::Etl ::Pipeline . new do |pipeline |
88 pipeline . sources = [ Spotlight ::Etl ::Sources ::IdentitySource ]
99 pipeline . transforms = [
1010 reject_blank : Spotlight ::Etl ::Transforms ::RejectBlank ,
@@ -14,7 +14,7 @@ class Resource < ActiveRecord::Base
1414 apply_pipeline_metadata : Spotlight ::Etl ::Transforms ::ApplyPipelineMetadata
1515 ]
1616 pipeline . loaders = [ Spotlight ::Etl ::SolrLoader ]
17- end )
17+ end
1818
1919 extend ActiveModel ::Callbacks
2020 define_model_callbacks :index
You can’t perform that action at this time.
0 commit comments