From c349200761bdbf5beac22648da07b0768addc4d6 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 19 Mar 2016 12:49:34 +0100 Subject: Removing some unused gems, adding pagination to profiles, fix #10 --- app/controllers/accounts_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers') diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb index 47d114416..c46200811 100644 --- a/app/controllers/accounts_controller.rb +++ b/app/controllers/accounts_controller.rb @@ -8,7 +8,7 @@ class AccountsController < ApplicationController @statuses = @account.statuses.order('id desc').with_includes.with_counters respond_to do |format| - format.html + format.html { @statuses = @statuses.paginate(page: params[:page], per_page: 10)} format.atom end end -- cgit