Removing some unused gems, adding pagination to profiles, fix #10
This commit is contained in:
parent
d4892ace62
commit
c349200761
8 changed files with 79 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue