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