DevInSantos/DevInSantos-events

View on GitHub
app/controllers/caches_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
class CachesController < ApplicationController
  before_action :authenticate_user!

  def clear
    Rails.cache.clear

    redirect_to :root
  end
end