Class: Admin::AssetsController
- Inherits:
-
ResourceController
- Object
- ResourceController
- Admin::AssetsController
- Includes:
- UploadHandler
- Defined in:
- app/controllers/admin/assets_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
6 7 8 9 10 11 |
# File 'app/controllers/admin/assets_controller.rb', line 6 def create rendering_upload_response do @asset = Asset.create! params[:asset] @template.content_tag(:li, @template.asset_listing(@asset)) end end |