app/helpers/spotlight/browse_helper.rb in blacklight-spotlight-0.31.0 vs app/helpers/spotlight/browse_helper.rb in blacklight-spotlight-0.32.0
- old
+ new
@@ -1,9 +1,11 @@
module Spotlight
##
# Helper for browse views
module BrowseHelper
include ::BlacklightConfigurationHelper
+ include Spotlight::RenderingHelper
+
def document_index_view_type
if @search && @search.default_index_view_type.present? && params[:view].blank?
blacklight_config.view[@search.default_index_view_type].key
else
super