Sha256: 34ac1dab8ccc651fe9f8d4e0c29df9e2728d86750e6c57dfcb8f82946be174c0

Contents?: true

Size: 410 Bytes

Versions: 2

Compression:

Stored size: 410 Bytes

Contents

module Flms
  class TextLayersController < AbstractLayerController

    def new
      @layer = TextLayer.new.build_default_keyframes
    end

    def create
      @layer = TextLayer.new params[:text_layer]
      do_create
    end

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

  protected

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