Sha256: d1674407300b988177848832d199aa7a995f954d8dd8ac80566beda2b5c37ed7

Contents?: true

Size: 217 Bytes

Versions: 6

Compression:

Stored size: 217 Bytes

Contents

class ContentImagesController < Spree::BaseController

  def create
    @content_image = ContentImage.new(params[:content_image])
    @content_image.save!

    render :text => @content_image.attachment.url
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spree_editor-0.70.0 app/controllers/content_images_controller.rb
spree_editor-0.50.1 app/controllers/content_images_controller.rb
spree_editor-0.50.0 app/controllers/content_images_controller.rb
spree_editor-0.40.0 app/controllers/content_images_controller.rb
spree_editor-0.30.1 app/controllers/content_images_controller.rb
spree_editor-0.30.0 app/controllers/content_images_controller.rb