Class: Flms::ImageLayersController
- Inherits:
-
AbstractLayerController
- Object
- ActionController::Base
- ApplicationController
- AbstractLayerController
- Flms::ImageLayersController
- Defined in:
- app/controllers/flms/image_layers_controller.rb
Instance Method Summary collapse
Methods inherited from AbstractLayerController
Methods inherited from ApplicationController
Instance Method Details
#create ⇒ Object
8 9 10 11 12 |
# File 'app/controllers/flms/image_layers_controller.rb', line 8 def create @layer = ImageLayer.new params[:image_layer] @layer.image = params[:image_layer][:image] do_create end |
#new ⇒ Object
4 5 6 |
# File 'app/controllers/flms/image_layers_controller.rb', line 4 def new @layer = ImageLayer.new.build_default_keyframes end |
#update ⇒ Object
14 15 16 |
# File 'app/controllers/flms/image_layers_controller.rb', line 14 def update do_update @layer.update_attributes(params[:image_layer]) end |