mirror of
https://github.com/paper-trail-gem/paper_trail.git
synced 2022-11-09 11:33:19 -05:00
Remove comment about RailsAdmin using private version_class_name API
They are no longer using that private API. See: https://github.com/sferik/rails_admin/blob/master/lib/rails_admin/extensions/paper_trail/auditing_adapter.rb
This commit is contained in:
parent
c77ee68e63
commit
3f93befd88
1 changed files with 1 additions and 4 deletions
|
@ -138,10 +138,7 @@ module PaperTrail
|
|||
# @api public
|
||||
@model_class.send :attr_accessor, @model_class.version_association_name
|
||||
|
||||
# @api private - `version_class_name` - However, `rails_admin` has been
|
||||
# using it since 2014 (see `rails_admin/extensions/paper_trail/auditing_adapter.rb`,
|
||||
# https://github.com/sferik/rails_admin/commit/959e1bd4e47e0369d264b58bbbe972ff863767cd)
|
||||
# In PR _____ () we ask them to use `paper_trail_options` instead.
|
||||
# @api private - `version_class_name`
|
||||
@model_class.class_attribute :version_class_name
|
||||
@model_class.version_class_name = options[:class_name] || "PaperTrail::Version"
|
||||
|
||||
|
|
Loading…
Reference in a new issue