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



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

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