Class: RelationController

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

Instance Method Summary collapse

Instance Method Details

#indexObject



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

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