Sha256: f1bb4a982d0f9f80c01911b0b63063f3e062253e4c5cd297ffbb5b403df9ac96

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 Bytes

Contents

module Georgia
  module Api
    class MediaController < Georgia::ApplicationController

      def pictures
        @pictures = Georgia::Indexer.search(Ckeditor::Picture, params.merge(per: 12))
        @pictures = Ckeditor::PictureDecorator.decorate_collection(@pictures)
        render layout: false
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
georgia-0.7.7 app/controllers/georgia/api/media_controller.rb