about summary refs log tree commit diff
path: root/app/controllers/home_controller.rb
blob: 9b0b36a865005fc97d497945b76e391d088b6d2e (plain) (blame)
1
2
3
4
5
6
7
8
9
class HomeController < ApplicationController
  layout 'dashboard'

  before_action :authenticate_user!

  def index
    @timeline = Feed.new(:home, current_user.account).get(10, params[:max_id])
  end
end