Sha256: 453c4d4454812ac78b540be78f0067a7cc4a7a410cbd9b34b69c8925c1b48c1e

Contents?: true

Size: 413 Bytes

Versions: 189

Compression:

Stored size: 413 Bytes

Contents

module CmAdmin
  module Models
    module Actions
      module Blocks
        extend ActiveSupport::Concern

        included do
          attr_accessor :title
        end

        def set_layout(name)
          self.layout = name
        end

        def set_partial(name)
          self.partial = name
        end

        def set_title(name)
          self.title = name
        end
      end
    end
  end
end

Version data entries

189 entries across 189 versions & 1 rubygems

Version Path
cm-admin-4.4.8 lib/cm_admin/models/actions/blocks.rb
cm-admin-4.4.6 lib/cm_admin/models/actions/blocks.rb
cm-admin-4.4.1 lib/cm_admin/models/actions/blocks.rb
cm-admin-4.4.0 lib/cm_admin/models/actions/blocks.rb
cm-admin-4.3.0 lib/cm_admin/models/actions/blocks.rb
cm-admin-4.2.1 lib/cm_admin/models/actions/blocks.rb
cm-admin-4.2.0 lib/cm_admin/models/actions/blocks.rb
cm-admin-4.1.2 lib/cm_admin/models/actions/blocks.rb
cm-admin-4.1.1 lib/cm_admin/models/actions/blocks.rb
cm-admin-4.1.0 lib/cm_admin/models/actions/blocks.rb
cm-admin-4.0.0 lib/cm_admin/models/actions/blocks.rb
cm-admin-3.0.16 lib/cm_admin/models/actions/blocks.rb
cm-admin-3.0.15 lib/cm_admin/models/actions/blocks.rb
cm-admin-3.0.14 lib/cm_admin/models/actions/blocks.rb
cm-admin-3.0.13 lib/cm_admin/models/actions/blocks.rb
cm-admin-3.0.12 lib/cm_admin/models/actions/blocks.rb
cm-admin-3.0.11 lib/cm_admin/models/actions/blocks.rb
cm-admin-3.0.10 lib/cm_admin/models/actions/blocks.rb
cm-admin-3.0.9 lib/cm_admin/models/actions/blocks.rb
cm-admin-3.0.8 lib/cm_admin/models/actions/blocks.rb