Fix all Style/StringLiteralsInInterpolation rubocop issues and remove from rubocop_todo list

This commit is contained in:
Bertocq
2017-06-21 22:32:53 +02:00
parent 80bcf38dc5
commit a76033fb72
3 changed files with 2 additions and 11 deletions

View File

@@ -23,6 +23,6 @@ class StatsController < ApplicationController
private
def daily_cache(key, &block)
Rails.cache.fetch("public_stats/#{Time.current.strftime("%Y-%m-%d")}/#{key}", &block)
Rails.cache.fetch("public_stats/#{Time.current.strftime('%Y-%m-%d')}/#{key}", &block)
end
end