Sha256: 56c34d649d62b0f274239358a045c92ef43671a3f3830badb7e599ee865fe93a
Contents?: true
Size: 467 Bytes
Versions: 2
Compression:
Stored size: 467 Bytes
Contents
module Flms class ImageLayersController < AbstractLayerController def new @layer = ImageLayer.new.build_default_keyframes end def create @layer = ImageLayer.new params[:image_layer] @layer.image = params[:image_layer][:image] do_create end def update do_update @layer.update_attributes(params[:image_layer]) end protected def load_layer @layer = ImageLayer.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/image_layers_controller.rb |
flms-0.1.0 | app/controllers/flms/image_layers_controller.rb |