Sha256: ec247ce695a430405a0e3494a6fabdebbeb9673cdf246435e1845e9f1e26ae11
Contents?: true
Size: 478 Bytes
Versions: 8
Compression:
Stored size: 478 Bytes
Contents
class RelationController < ApplicationController include Blacklight::Configurable # include Blacklight::SearchHelper copy_blacklight_config_from(CatalogController) def index @relations = Geoblacklight::Relation::RelationResponse.new(params[:id], repository) render layout: !request.xhr? end private def repository_class blacklight_config.repository_class end def repository @repository ||= repository_class.new(blacklight_config) end end
Version data entries
8 entries across 8 versions & 1 rubygems