Class: ContentFilesController
- Inherits:
-
Spree::BaseController
- Object
- Spree::BaseController
- ContentFilesController
- Defined in:
- app/controllers/content_files_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
3 4 5 6 7 8 |
# File 'app/controllers/content_files_controller.rb', line 3 def create @content_file = ContentFile.new(params[:content_file]) @content_file.save! render :text => "#{@content_file..url},#{@content_file.}" end |