mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 07:06:03 +01:00
15 lines
315 B
Ruby
15 lines
315 B
Ruby
class StaticController < ApplicationController
|
|
def index
|
|
if user_signed_in?
|
|
@timeline = current_user.timeline.paginate(page: params[:page])
|
|
respond_to do |format|
|
|
format.html
|
|
format.js
|
|
end
|
|
end
|
|
end
|
|
|
|
def about
|
|
@admins = User.where(admin: true).order(:id)
|
|
end
|
|
end
|