2014-08-01 02:47:25 -07:00
|
|
|
class StaticController < ApplicationController
|
|
|
|
def index
|
2014-12-08 05:14:13 -08:00
|
|
|
if user_signed_in?
|
|
|
|
@timeline = current_user.timeline.paginate(page: params[:page])
|
|
|
|
respond_to do |format|
|
|
|
|
format.html
|
|
|
|
format.js
|
|
|
|
end
|
|
|
|
end
|
2014-08-01 02:47:25 -07:00
|
|
|
end
|
|
|
|
|
|
|
|
def about
|
2014-11-30 07:41:28 -08:00
|
|
|
@admins = User.where(admin: true).order(:id)
|
2014-08-01 02:47:25 -07:00
|
|
|
end
|
|
|
|
end
|