diff --git a/controllers/profile/comment_paragraph_plugin_profile_controller.rb b/controllers/profile/comment_paragraph_plugin_profile_controller.rb index 89f1090..e4fb02a 100644 --- a/controllers/profile/comment_paragraph_plugin_profile_controller.rb +++ b/controllers/profile/comment_paragraph_plugin_profile_controller.rb @@ -10,12 +10,7 @@ class CommentParagraphPluginProfileController < ProfileController @comments = article.comments.without_spam.in_paragraph(@paragraph_id) @comments_count = @comments.count - @comments = @comments.without_reply.paginate(:per_page => per_page, :page => @paragraph_comment_page ) - @no_more_pages = @comments_count <= @paragraph_comment_page * per_page + @comments = @comments.without_reply end - def per_page - 3 - end - -end +end \ No newline at end of file -- libgit2 0.21.2