Sha256: 8b6c656ec8f562ef01ed7576c1ee6546cf58b4e1d86fb7ff387f4804e2db131c
Contents?: true
Size: 493 Bytes
Versions: 36
Compression:
Stored size: 493 Bytes
Contents
require_dependency "publish_my_data/application_controller" module PublishMyData class DatasetsController < ApplicationController respond_to :html, :ttl, :rdf, :nt, :json, :text # /data?page=2&per_page=10 def index @pagination_params = ResourcePaginationParams.from_request(request) @datasets = Paginator.new(Dataset.deprecation_last_query_str, @pagination_params, resource_class: PublishMyData::Dataset).paginate respond_with(@datasets) end end end
Version data entries
36 entries across 36 versions & 1 rubygems