posts: remove unused data-views data attribute.

This commit is contained in:
evazion
2021-01-14 13:31:27 -06:00
parent 1b30b71a07
commit 966a7aa71c
2 changed files with 1 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ class Post < ApplicationRecord
has_many :favorited_users, through: :favorites, source: :user
has_many :replacements, class_name: "PostReplacement", :dependent => :destroy
attr_accessor :old_tag_string, :old_parent_id, :old_source, :old_rating, :has_constraints, :disable_versioning, :view_count
attr_accessor :old_tag_string, :old_parent_id, :old_source, :old_rating, :has_constraints, :disable_versioning
scope :pending, -> { where(is_pending: true) }
scope :flagged, -> { where(is_flagged: true) }