Sha256: 570ff30699dd99ff986884b289b2fbac7f3304f4c5b408961f6e2da9ae8415c6
Contents?: true
Size: 508 Bytes
Versions: 20
Compression:
Stored size: 508 Bytes
Contents
# frozen_string_literal: true 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
20 entries across 20 versions & 1 rubygems