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-1.5.47 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.46 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.45 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.44 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.43 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.42 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.41 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.40 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.39 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.38 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.37 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.36 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.35 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.34 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.33 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.32 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.31 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.30 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.29 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.28 lib/cm_admin/models/actions/blocks.rb