Remove comments pagination

This commit is contained in:
riggraz
2019-09-17 15:03:25 +02:00
parent b40ddfd543
commit 476f720119
8 changed files with 7 additions and 37 deletions

View File

@@ -7,7 +7,6 @@ class CommentsController < ApplicationController
.left_outer_joins(:user)
.select('comments.id, comments.body, comments.updated_at, users.full_name as user_full_name')
.order(updated_at: :desc)
.page(params[:page])
render json: comments
end