mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 16:16:03 +01:00
11 lines
246 B
Ruby
11 lines
246 B
Ruby
class PublicController < ApplicationController
|
|
before_filter :authenticate_user!
|
|
|
|
def index
|
|
@timeline = Answer.all.reverse_order.paginate(page: params[:page])
|
|
respond_to do |format|
|
|
format.html
|
|
format.js
|
|
end
|
|
end
|
|
end
|