Class: PaperclipUpload::UploadsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- PaperclipUpload::UploadsController
- Defined in:
- app/controllers/paperclip_upload/uploads_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
6 7 8 9 |
# File 'app/controllers/paperclip_upload/uploads_controller.rb', line 6 def create new_upload = PaperclipUpload::Upload.create(permitted_params) respond_with new_upload, status: :created end |