Module: MediaShelf

Defined in:
vendor/plugins/hydra_repository/lib/mediashelf/active_fedora_helper.rb

Overview

Stanford SolrHelper is a controller layer mixin. It is in the controller scope: request params, session etc.

NOTE: Be careful when creating variables here as they may be overriding something that already exists. The ActionController docs: api.rubyonrails.org/classes/ActionController/Base.html

Override these methods in your own controller for customizations:

class HomeController < ActionController::Base

  
  include Stanford::SolrHelper
  
  def solr_search_params
    super.merge :per_page=>10
  end
  

end

Defined Under Namespace

Modules: ActiveFedoraHelper