live posts counts is only available to logged in users

This commit is contained in:
Sam 2015-09-16 12:27:05 +10:00
parent b2ef9a02bf
commit 8cb9c348f6
1 changed files with 1 additions and 0 deletions

View File

@ -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