Sha256: cd3e54140247215a6e31ded72a8d8ac9045504eb6f75cbe868fde531d2721aa7

Contents?: true

Size: 345 Bytes

Versions: 16

Compression:

Stored size: 345 Bytes

Contents

module Qbrick
  class ColumnBrick < Brick
    include Qbrick::BrickList
    acts_as_brick_list

    #
    # Users should not be able to delete this brick through the UI
    #
    def user_can_delete?
      false
    end

    # No need to save
    def user_can_save?
      false
    end

    def renders_own_childs?
      false
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
qbrick-2.7.1 app/models/qbrick/column_brick.rb
qbrick-2.7 app/models/qbrick/column_brick.rb
qbrick-2.6.10 app/models/qbrick/column_brick.rb
qbrick-2.6.9 app/models/qbrick/column_brick.rb
qbrick-2.6.8 app/models/qbrick/column_brick.rb
qbrick-2.6.7 app/models/qbrick/column_brick.rb
qbrick-2.6.6 app/models/qbrick/column_brick.rb
qbrick-2.6.5 app/models/qbrick/column_brick.rb
qbrick-2.6.4 app/models/qbrick/column_brick.rb
qbrick-2.6.3 app/models/qbrick/column_brick.rb
qbrick-2.6.2 app/models/qbrick/column_brick.rb
qbrick-2.6.1 app/models/qbrick/column_brick.rb
qbrick-2.6.0 app/models/qbrick/column_brick.rb
qbrick-2.5.2 app/models/qbrick/column_brick.rb
qbrick-2.5.1 app/models/qbrick/column_brick.rb
qbrick-2.5.0 app/models/qbrick/column_brick.rb