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.10 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.27 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.26 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.25 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.23 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.22 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.21 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.20 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.11 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.9 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.8 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.7 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.6 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.1 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.5.0 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.4.9 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.4.8 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.4.7 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.4.6 lib/cm_admin/models/actions/blocks.rb
cm-admin-1.4.5 lib/cm_admin/models/actions/blocks.rb