Sha256: e7a7b16f7488b4a6e4254ffee00cb7b092ca971437a2b417dcb55140970aef07
Contents?: true
Size: 314 Bytes
Versions: 61
Compression:
Stored size: 314 Bytes
Contents
# frozen_string_literal: true module Admin class CachesController < ApplicationController def destroy Rails.logger.warn("[CACHE CLEAR] - Cleaning entire cache manually by #{current_admin} request") Rails.cache.clear redirect_back(fallback_location: admin_dashboard_path) end end end
Version data entries
61 entries across 61 versions & 1 rubygems