Fix stray bugs on minor codepaths

I ran `rails zeitwerk:check`, which eager-loads the app, and it found two problems: `closet_group.rb` doesn't define `ClosetGroup` (cuz it's empty), and I left in a reference to a cache sweeper observer oops. Goodbye!
This commit is contained in:
Emi Matchu 2023-08-02 17:28:22 -07:00
parent be7e11a0d0
commit cfc5c4ef19
2 changed files with 0 additions and 2 deletions

View file

@ -6,8 +6,6 @@ class PetsController < ApplicationController
protect_from_forgery except: :submit protect_from_forgery except: :submit
before_action :local_only, only: :submit before_action :local_only, only: :submit
cache_sweeper :user_sweeper
def load def load
if params[:name] == '!' if params[:name] == '!'
redirect_to roulette_path redirect_to roulette_path