Sha256: 904c36c60e068dbe17d1a5e2cf345ab4d8d5141199007f63a69d889f853f689c
Contents?: true
Size: 495 Bytes
Versions: 2
Compression:
Stored size: 495 Bytes
Contents
module Flms class AnimationLayersController < AbstractLayerController def new @layer = AnimationLayer.new.build_default_keyframes end def create @layer = AnimationLayer.new params[:animation_layer] @layer.image = params[:animation_layer][:image] do_create end def update do_update @layer.update_attributes(params[:animation_layer]) end protected def load_layer @layer = AnimationLayer.find params[:id] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
flms-0.9.0 | app/controllers/flms/animation_layers_controller.rb |
flms-0.1.0 | app/controllers/flms/animation_layers_controller.rb |