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-2.2.1 lib/cm_admin/models/actions/blocks.rb
cm-admin-2.2.0 lib/cm_admin/models/actions/blocks.rb
cm-admin-2.1.5 lib/cm_admin/models/actions/blocks.rb
cm-admin-2.1.4 lib/cm_admin/models/actions/blocks.rb
cm-admin-2.1.3 lib/cm_admin/models/actions/blocks.rb
cm-admin-2.1.2 lib/cm_admin/models/actions/blocks.rb
cm-admin-2.1.1 lib/cm_admin/models/actions/blocks.rb
cm-admin-2.1.0 lib/cm_admin/models/actions/blocks.rb
cm-admin-2.0.2 lib/cm_admin/models/actions/blocks.rb
cm-admin-2.0.1 lib/cm_admin/models/actions/blocks.rb
cm-admin-2.0.0 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.56 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.55 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.54 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.53 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.52 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.51 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.50 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.49 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.48 lib/cm_admin/models/actions/blocks.rb