decko-commons/decko

View on GitHub
mod/carrierwave/set/self/search.rb

Summary

Maintainability
A
0 mins
Test Coverage
format :json do
  view :image_complete, cache: :never do
    complete_or_match_search(start_only: false,
                             additional_cql: { type: :image }).map do |item|
      { id: item, href: item.url_key, text: goto_item_label(item) }
    end
  end
end