# frozen_string_literal: true module RedisWebManager class ActionsController < ApplicationController # DELETE /reset def reset data.flush redirect_to root_url end # DELETE /flushdb def flushdb action.flushdb redirect_to root_url end # DELETE /flushall def flushall action.flushall redirect_to root_url end end end