Adding GNU Public license, adding home timeline, reblog/favourite counters
This commit is contained in:
parent
831a187d74
commit
3824c58853
20 changed files with 429 additions and 37 deletions
|
@ -1,4 +1,7 @@
|
|||
class HomeController < ApplicationController
|
||||
before_action :authenticate_user!
|
||||
|
||||
def index
|
||||
@statuses = Status.where(account: ([current_user.account] + current_user.account.following)).where('reblog_of_id IS NULL OR account_id != ?', current_user.account.id).order('created_at desc')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue