Do not limit the number of page versions to 20
This reverts 164653dbfc
.
This commit is contained in:
parent
271af8f59f
commit
26aecbbe9e
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ class Page < ApplicationRecord
|
||||||
|
|
||||||
belongs_to :user, :foreign_key => 'updated_by'
|
belongs_to :user, :foreign_key => 'updated_by'
|
||||||
|
|
||||||
acts_as_versioned version_column: :lock_version, limit: 20
|
acts_as_versioned version_column: :lock_version
|
||||||
self.non_versioned_columns += %w(permalink created_at title)
|
self.non_versioned_columns += %w(permalink created_at title)
|
||||||
|
|
||||||
acts_as_tree :order => "title"
|
acts_as_tree :order => "title"
|
||||||
|
|
Loading…
Reference in a new issue