Class: Flms::TextLayersController
- Inherits:
-
AbstractLayerController
- Object
- ActionController::Base
- ApplicationController
- AbstractLayerController
- Flms::TextLayersController
- Defined in:
- app/controllers/flms/text_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/text_layers_controller.rb', line 8 def create @layer = TextLayer.new params[:text_layer] do_create end |
#new ⇒ Object
4 5 6 |
# File 'app/controllers/flms/text_layers_controller.rb', line 4 def new @layer = TextLayer.new.build_default_keyframes end |
#update ⇒ Object
13 14 15 |
# File 'app/controllers/flms/text_layers_controller.rb', line 13 def update do_update @layer.update_attributes(params[:text_layer]) end |