fixed action caching

This commit is contained in:
MrYummy
2017-06-02 19:01:50 +02:00
parent 44392c1df3
commit 0c3f6b2223
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