fixed action caching

This commit is contained in:
MrYummy
2017-06-02 19:01:50 +02:00
parent 1316d7ca03
commit 4105f1c61f
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
class StaticsController < ApplicationController
caches_action :online, expires_in: 10.seconds
caches_action :online, expires_in: 10.seconds, layout: false
def index
if current_user