Do not limit the number of page versions to 20

This reverts 164653dbfc.
This commit is contained in:
Patrick Gansterer 2020-08-14 14:18:53 +02:00
parent 271af8f59f
commit 26aecbbe9e
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ class Page < ApplicationRecord
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)
acts_as_tree :order => "title"