mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-26 08:48:28 -04:00
Fix broken spec on dev
This commit is contained in:
1 parent
fd39d6ef8c
commit
80b82a99fe
1 file changed
+1
-1
@@ -67,6 +67,6 @@ class PostsController < ApplicationController
|
||||
@author.posts
|
||||
else
|
||||
Post
|
||||
end.order(created_at: :desc).includes(:author, comments: :author).paginate(page: params[:page])
|
||||
end.order(created_at: :desc).includes(:author, comments: :author).paginate(page: params[:page], per_page: 12)
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user