Class: RelationController

Inherits:
ApplicationController
  • Object
show all
Includes:
Blacklight::Configurable, Blacklight::SearchHelper
Defined in:
app/controllers/relation_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



6
7
8
9
# File 'app/controllers/relation_controller.rb', line 6

def index
  @relations = Geoblacklight::Relation::RelationResponse.new(params[:id], repository)
  render layout: !request.xhr?
end