Sha256: 940fdc93c3064c4c5360bf6085c2535a867a42ac768954a0cc7149754bb6f68c

Contents?: true

Size: 282 Bytes

Versions: 3

Compression:

Stored size: 282 Bytes

Contents

class UploadsController < ApplicationController
  include Uploads

  def create
    # upload = Upload.new
    respond_to_upload(request) do |file, response|
      # upload.file = file
      response[:success] = true #upload.save
        # todo: thumb
      # end
    end
  end


end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
uploads-0.0.3 test/dummy/app/controllers/uploads_controller.rb
uploads-0.0.2 test/dummy/app/controllers/uploads_controller.rb
uploads-0.0.1 test/dummy/app/controllers/uploads_controller.rb