Sha256: b0045e23aeadf64ccb03caa063472b8b78425ee6b74d7d6f92b99de7e2fbf6c0

Contents?: true

Size: 291 Bytes

Versions: 26

Compression:

Stored size: 291 Bytes

Contents

module Tessa
  module ControllerHelpers

    def params_for_asset(changes)
      Tessa::AssetChangeSet.new(
        changes: changes,
        scoped_ids: tessa_upload_asset_ids,
      )
    end

    def tessa_upload_asset_ids
      session[:tessa_upload_asset_ids] ||= []
    end

  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
tessa-1.2.3 lib/tessa/controller_helpers.rb
tessa-1.2.2 lib/tessa/controller_helpers.rb
tessa-2.0 lib/tessa/controller_helpers.rb
tessa-1.2.1 lib/tessa/controller_helpers.rb
tessa-1.2.0 lib/tessa/controller_helpers.rb
tessa-1.1.1 lib/tessa/controller_helpers.rb
tessa-1.1.0 lib/tessa/controller_helpers.rb
tessa-1.0.2 lib/tessa/controller_helpers.rb
tessa-1.0.1 lib/tessa/controller_helpers.rb
tessa-1.0.0 lib/tessa/controller_helpers.rb
tessa-1.0.0.pre.rc3 lib/tessa/controller_helpers.rb
tessa-1.0.0.pre.rc2 lib/tessa/controller_helpers.rb
tessa-1.0.0.pre.rc1 lib/tessa/controller_helpers.rb
tessa-0.9.2 lib/tessa/controller_helpers.rb
tessa-0.9.1 lib/tessa/controller_helpers.rb
tessa-0.9.0 lib/tessa/controller_helpers.rb
tessa-0.8.0 lib/tessa/controller_helpers.rb
tessa-0.7.0 lib/tessa/controller_helpers.rb
tessa-0.6.3 lib/tessa/controller_helpers.rb
tessa-0.6.2 lib/tessa/controller_helpers.rb