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

View file

@ -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"