This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
2016-02-22 16:00:20 +01:00
|
|
|
class HomeController < ApplicationController
|
2016-03-12 16:09:46 +01:00
|
|
|
layout 'dashboard'
|
|
|
|
|
2016-03-06 17:52:23 +01:00
|
|
|
before_action :authenticate_user!
|
|
|
|
|
2016-02-22 16:00:20 +01:00
|
|
|
def index
|
2016-03-25 16:10:14 +01:00
|
|
|
@timeline = Feed.new(:home, current_user.account).get(10, params[:max_id])
|
2016-03-12 16:09:46 +01:00
|
|
|
end
|
2016-02-22 16:00:20 +01:00
|
|
|
end
|