mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 18:13:42 +01:00
9 lines
271 B
Ruby
9 lines
271 B
Ruby
class HomeController < ApplicationController
|
|
before_action :authenticate_user!
|
|
|
|
def index
|
|
@body_classes = 'app-body'
|
|
@home = Feed.new(:home, current_user.account).get(20)
|
|
@mentions = Feed.new(:mentions, current_user.account).get(20)
|
|
end
|
|
end
|