oy vey
This commit is contained in:
parent
e50bd47741
commit
b79d4f30ac
|
@ -1,4 +1,6 @@
|
||||||
class NotificationsController < ApplicationController
|
class NotificationsController < ApplicationController
|
||||||
|
before_filter :authenticate_user!
|
||||||
|
|
||||||
def index
|
def index
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
class PublicController < ApplicationController
|
class PublicController < ApplicationController
|
||||||
|
before_filter :authenticate_user!
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@timeline = Answer.all.reverse_order.paginate(page: params[:page])
|
@timeline = Answer.all.reverse_order.paginate(page: params[:page])
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
|
|
Loading…
Reference in New Issue