Class: CatalogController

Inherits:
ApplicationController
  • Object
show all
Includes:
Blacklight::Catalog
Defined in:
lib/generators/geoblacklight/templates/catalog_controller.rb

Instance Method Summary collapse

Instance Method Details

#web_servicesObject



334
335
336
337
338
339
340
341
342
343
# File 'lib/generators/geoblacklight/templates/catalog_controller.rb', line 334

def web_services
  @response, @documents = action_documents

  respond_to do |format|
    format.html do
      return render layout: false if request.xhr?
      # Otherwise draw the full page
    end
  end
end