Sha256: 4e0430e09f0dcb787616d5778fbdd80d2c8f3043b7148a4efcb7e7fe3f8a7024

Contents?: true

Size: 416 Bytes

Versions: 2

Compression:

Stored size: 416 Bytes

Contents

module Flms
  class EmbedLayersController < AbstractLayerController

    def new
      @layer = EmbedLayer.new.build_default_keyframes
    end

    def create
      @layer = EmbedLayer.new params[:embed_layer]
      do_create
    end

    def update
      do_update @layer.update_attributes(params[:embed_layer])
    end

  protected

    def load_layer
      @layer = EmbedLayer.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/embed_layers_controller.rb
flms-0.1.0 app/controllers/flms/embed_layers_controller.rb