about summary refs log tree commit diff
path: root/app/controllers/home_controller.rb
blob: 57973ba49f147d2873123c384139a0d2cb9fbc45 (plain) (blame)
1
2
3
4
5
6
7
8
9
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