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