From 8cb9c348f6850785b4ba4021c2dd66575f34ccfa Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 16 Sep 2015 12:27:05 +1000 Subject: [PATCH] live posts counts is only available to logged in users --- app/controllers/about_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/about_controller.rb b/app/controllers/about_controller.rb index cc65c36e89f..ccd6cdae720 100644 --- a/app/controllers/about_controller.rb +++ b/app/controllers/about_controller.rb @@ -2,6 +2,7 @@ require_dependency 'rate_limiter' class AboutController < ApplicationController skip_before_filter :check_xhr, only: [:show] + before_filter :ensure_logged_in, only: [:live_post_counts] def index @about = About.new