Sha256: f820a11a03f67d6ec1eeea1e95f5c550356b500b8eaea6ea0b442b804576c23e

Contents?: true

Size: 228 Bytes

Versions: 61

Compression:

Stored size: 228 Bytes

Contents

module Scrivito

class CompletionController < WebserviceController

  def suggest
    enumerator = Workspace.published.objs.all
    @suggested_names = enumerator.facet(params[:attribute], limit: 100).map(&:name)
  end

end

end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
scrivito_sdk-0.90.0.rc1 app/controllers/scrivito/completion_controller.rb