Fix broken spec on dev

This commit is contained in:
Brenda Wallace committed 2019-10-19 09:41:09 +13:00
1 parent fd39d6ef8c
commit 80b82a99fe
1 file changed
+1 -1
+1 -1
View File
@@ -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