mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Remove comments pagination
This commit is contained in:
@@ -5,6 +5,4 @@ class Comment < ApplicationRecord
|
||||
has_many :children, class_name: 'Comment', foreign_key: 'parent_id', dependent: :destroy
|
||||
|
||||
validates :body, presence: true, length: { minimum: 4 }
|
||||
|
||||
paginates_per 15
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user