mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 03:07:52 +01:00
Add infinite scroll to post list
This commit is contained in:
@@ -4,4 +4,6 @@ class Post < ApplicationRecord
|
||||
belongs_to :post_status, optional: true
|
||||
|
||||
validates :title, presence: true, length: { in: 4..64 }
|
||||
|
||||
paginates_per 15
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user